Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I return all songs by Album (collectionID) from Apple itunes search API

Tags:

xcode

ios

itunes

I want to do something like this:

https://itunes.apple.com/lookup?collectionid=211192863&entity=song

But it doesn't return the songs

I'm pretty sure they have such parameter since it is a pretty basic one

any tips are appreciated

Edit:

it seems I can pass ID also, but I don't know if I can trust it once I usd id input for artist search as well

like image 566
RollRoll Avatar asked Jun 10 '13 01:06

RollRoll


1 Answers

You are very close - the proper API request should be:
https://itunes.apple.com/lookup?id=211192863&entity=song

Note, the first result returned is the Collection meta data, each of the following 12 results are the track meta data.

like image 149
Ted Hosmann Avatar answered Sep 29 '22 09:09

Ted Hosmann