How to get list of podcast episodes from an album (iTunes Search API) -
i'm trying obtain list of podcasts episodes itunes search api. i'm able make call api , podcast albums based on search term:
https://itunes.apple.com/search?media=podcast&term=nerdcast
this returns following json (cropped):
{ "resultcount": 20, "results": [ { "wrappertype": "track", "kind": "podcast", "collectionid": 381816509, "trackid": 381816509, "artistname": "nerdcast", "collectionname": "nerdcast", "trackname": "nerdcast", "collectioncensoredname": "nerdcast", "trackcensoredname": "nerdcast", "collectionviewurl": "https://itunes.apple.com/us/podcast/nerdcast/id381816509?mt=2&uo=4", "feedurl": "http://jovemnerd.com.br/categoria/nerdcast/feed/", "trackviewurl": "https://itunes.apple.com/us/podcast/nerdcast/id381816509?mt=2&uo=4", "artworkurl30": "http://a5.mzstatic.com/us/r30/podcasts/v4/e1/95/35/e1953536-8437-834e-eac8-01147ae11c9e/mza_3422052630315608394.30x30-50.jpg", "artworkurl60": "http://a4.mzstatic.com/us/r30/podcasts/v4/e1/95/35/e1953536-8437-834e-eac8-01147ae11c9e/mza_3422052630315608394.60x60-50.jpg", "artworkurl100": "http://a1.mzstatic.com/us/r30/podcasts/v4/e1/95/35/e1953536-8437-834e-eac8-01147ae11c9e/mza_3422052630315608394.100x100-75.jpg", "collectionprice": 0, "trackprice": 0, "trackrentalprice": 0, "collectionhdprice": 0, "trackhdprice": 0, "trackhdrentalprice": 0, "releasedate": "2014-05-16t12:12:00z", "collectionexplicitness": "notexplicit", "trackexplicitness": "notexplicit", "trackcount": 301, "country": "usa", "currency": "usd", "primarygenrename": "society & culture", "radiostationurl": "https://itunes.apple.com/station/idra.381816509", "artworkurl600": "http://a2.mzstatic.com/us/r30/podcasts/v4/e1/95/35/e1953536-8437-834e-eac8-01147ae11c9e/mza_3422052630315608394.600x600-75.jpg", "genreids": [ "1324", "26" ], "genres": [ "society & culture", "podcasts" ] }, .....
i'd episodes first result. i've tried lookup request using collectionid, returns same output above instead of podcasts collection.
https://itunes.apple.com/lookup?id=381816509&entity=podcast
from reading documentation , other posts how believe should work, doesn't. able me out? thanks.
i think need take feed url , tracks there directly
"feedurl": "http://jovemnerd.com.br/categoria/nerdcast/feed/",
i suspect itunes search api documentation , implementation contain caveats not written out.
Comments
Post a Comment