iTunes Connect Command Line Autoingestion Script. Besides downloading, also computes and presents totals.
gem install sales
in the directory where You want to download Your iTunes Connect reports, run sale. this will copy a file called sales.yml into that directory. open sales.yml and fill in Your iTunes Connect credentials:
:username: kitschmaster@gmail.com #iTunes connect username
:password: yourpassword #iTunes Connect password
:vendorId: 80076733 #iTunes Connect -> Sales and Trends, find the vendorId on the header of the table next to the company name
:convertTo: EUR #currency to convert the total proceeds into, EUR, USD, MXN, GBP, CHF...
:beVerbose: YES #verbose output
with the credentials in place run sale again, it should now download the latest daily report and present it.
run sale daily
or sale weekly
to download reports, compute and present them in one go.
run sale help
to get a list of all possible commands.
OSX + java runtime + ruby1.9.2
ii recently created a cool iPhone app FOOD & MOOD and ii wanted to be able to track the correct number of downloads. ii could not afford a really nice payed Mac App or such to see my independent iPhone Developer sales stats. so ii went into the esoteric garage and coded this little script for my self.
ii wish ii would have a nice remote iPhone development or ruby related job, well payed and about something ii love.
and ii wish you luck!
Your Headless Standup Programmer
a.k.a. Miha Plohl
kitschmaster.com