Jump to content

Search iTunes Store


Recommended Posts

Cool, you can check my App Store Linker workflow for an Idea on generating the feedback for Alfred from app store results.

 

I had literally no idea the iTunes Store had a search API! Here's what I threw together using your script as a jumping-off point: http://d.pr/f/A0MF

 

Only problem is, I can't figure out which of the result URLs would just open iTunes, rather than a Store page.

 

Edit: Found the solution, which was changing the "https" at the beginning of each link to "itms". I'm going to post another thread about this and update AlfPT.

Link to comment
I had literally no idea the iTunes Store had a search API! Here's what I threw together using your script as a jumping-off point: http://d.pr/f/A0MF

 

Only problem is, I can't figure out which of the result URLs would just open iTunes, rather than a Store page.

 

Edit: Found the solution, which was changing the "https" at the beginning of each link to "itms". I'm going to post another thread about this and update AlfPT.

Hehe, way more elegant than my crappy code. I've got to step up and learn me better python :)

Link to comment
Hehe, way more elegant than my crappy code. I've got to step up and learn me better python :)

 

Hah, thanks, but don't mistake stupidity-driven simplicity for elegance ;-). I didn't even think to use `xml.etree` before seeing your script, and had been instead using ridiculous `append`, `join`, and `print` statements.

 

I'm thinking now of screwing my courage to the sticking-place and creating a small Alfred module for Python. What would you want to see in it? All I've come up with is a results object, which is potentially too easy to be useful, and a scraper, which is potentially too hard.

Link to comment
  • 2 months later...
  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...