GithubHelp home page GithubHelp logo

lowolf / itunes-app-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digitalmethodsinitiative/itunes-app-scraper

0.0 0.0 0.0 42 KB

A simple Python scraper for the iTunes App Store

License: MIT License

Shell 0.25% Python 93.99% Gherkin 5.76%

itunes-app-scraper's Introduction

iTunes App Store Scraper

This defines a lightweight Python class that can be used to scrape app information from the iTunes App Store. It defines a couple of methods that can be used to get relevant app IDs given a set of parameters, and a couple of methods to then scrape data about these app IDs.

Much of this has been adapted from app-store-scraper, a nodeJS-based scraper that does similar things. But this scraper uses Python.

Getting started

The following scrapes app details about all apps similar to the first result for the 'fortnite' search query:

from itunes_app_scraper.scraper import AppStoreScraper

scraper = AppStoreScraper()
results = scraper.get_app_ids_for_query("fortnite")
similar = scraper.get_similar_app_ids_for_app(results[0])

app_details = scraper.get_multiple_app_details(similar)
print(list(app_details))

Documentation is not available separately yet, but the code is relatively simple and you can look in the scraper.py file to see what methods are available and what their parameters are.

Sources of Data:

Query Source URL base
App Affiliates API https://itunes.apple.com/lookup?
Search Old Affiliates? https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?
Developer Affiliates API https://itunes.apple.com/lookup?
List Old Affiliates http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/
Similar iTunes store scrape HTML https://itunes.apple.com/us/app/app/
Full Details Affiliates API https://itunes.apple.com/lookup?
Ratings iTunes store scrape HTML https://itunes.apple.com/lookup?

License

This scraper was developed by the Digital Methods Initiative, and is distributed under the MIT license. See LICENSE for details.

itunes-app-scraper's People

Contributors

mrommel avatar dale-wahl avatar stijn-uva avatar iaine avatar mslusarczyk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.