Recently, I heard the tale of an app developer wondering how a journalist found out about the app he made for a record label going live in the app store before any press had come out. It transpired that said journalist was quite the savvy feed muncher; all subscribed to the feeds of new apps coming out of Apple’s iTunes App Store so he’d know about new apps as they hit the store. Smart.
I would quite like to know when new music applications hit the store so I thought I’d build a service that emailed me the updated music app top ten on a daily basis, using SendGrid, Heroku and some Apple RSS. I’m aware that services like this already exist and I could just use one of those, but where’s the fun in that?
I’m an iOS user so I’m looking for Apple’s iTunes App Store feeds. Luckily, Apple has a tool that allows you to create the exact feed you want. It defaults resulting information to XML, but you can change the ‘/xml’ at the end of the generated URL to ‘/json’ to get a JSON response if you like.
I want to get the top paid for music apps so my feed URL looks like this:
But, I would prefer JSON so I’m using this version:
This is the kind of script you just want to put somewhere and forget about. Heroku is fine for something like that and you can use the Scheduler add-on to handle the daily running. The deployment process would go something like this:
The final command will open the Scheduler dashboard in your browser where you can set how often the script you deployed will run. Set it up. Save it. Forget about it and await the emails.