An open API service indexing awesome lists of open source software.

https://github.com/jparise/apprankings

App Store Rankings Scraper
https://github.com/jparise/apprankings

appstore

Last synced: 8 months ago
JSON representation

App Store Rankings Scraper

Awesome Lists containing this project

README

          

# App Store Rankings Scraper

Copyright © 2011, 2012 Jon Parise <jon@indelible.org>

`apprankings` scrapes App Store rankings from iTunes and writes the results
to a CSV-formatted output file. It currently queries both the iPhone and iPad
App Stores for the *Paid*, *Free*, and *Top Grossing* lists. It covers the
*All* and *Games* categories, but it could be further extended and
parameterized to support a much wider range of queries.

This code is released under the terms of the [MIT License][license].

## Usage

usage: apprankings [-h] [-v] [-a APPS [APPS ...]] [-c COUNTRIES [COUNTRIES ...]]
[-o OUTPUT] [--threads THREADS]

Scrape App Store rankings

optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose logging output
-a APPS [APPS ...], --apps APPS [APPS ...]
include only these app IDs in the output
-c COUNTRIES [COUNTRIES ...], --countries COUNTRIES [COUNTRIES ...]
list of ISO-3166-1 Alpha-2 country codes to query
-o OUTPUT, --output OUTPUT
CSV-formatted output file (default: rankings.csv)
--source SOURCE source address given as host[:port] (default: auto)
--threads THREADS request thread pool size (default: 4)

## TODO

* Support for parametizable category queries.
* Consider adding more output fields:
* Developer
* Link
* Price
* Updated Date

[license]: http://www.opensource.org/licenses/mit-license.php