A set of tools for developers who need to manage iTunes Connect data
Features
- Fetch Daily and Weekly Sales/Trend reports
- Fetch Monthly Financial reports
- Store data and stats in database tables
- Stat tracking web page
To Do
- Display Financial Reports on stats page
- Plots and Charts
- Mobile version of the stats page
License
iTunes Connect Tools is Copyright 2008-2009 by Brandon Fosdick under the BSD License.
Download
Installation
Installation is very simple, but first you'll need to install WWW::iTunesConnect.
- Extract the tarball into a temporary directory
- Copy the contents of the www subdirectory to some place accessible by your web server, then edit the index.php script to change username/password settings as needed
- Copy the contents of the perl5 subdirectory to wherever you put your cron scripts
- In the same directory, create config.pl with your iTunes username, password and any other options you need (see runner.pl -h for options). For example,
user => 'bfoz@bfoz.net' password => 'secret'
- Use tables.sql to create the necessary database and tables.
mysql < tables.sql
- Configure cron to run runner.pl nightly. I run it at 5am, like so:
0 5 * * * /home/bfoz/scripts/runner.pl
History
Version 0.2 - Released January 29, 2008
- Checks the available reports against the database and only fetches new reports
- Fetches Daily and Weekly Sales/Trend Reports and monthly Financial Reports
- Commandline options for runner.pl can now be placed in the file config.pl in the same directory. This avoids having your password visible in your crontab.
- Statistics page shows daily averages
Version 0.1 - Released November 09, 2008
- First release to Apple's OS X Developer forum
- Simple hack to get original code posted by Marco Vitanza reading from MySQL instead of text files
- Usable, but lots of rough edges