iTunes Search API에서 podcast 에피소드 목록을 얻으려고합니다.앨범에서 Podcast 에피소드 목록을 가져 오는 방법 (iTunes Search API)
{
"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"
]
},
.....
내가 좋아하는 것 :
https://itunes.apple.com/search?media=podcast&term=nerdcast
이 다음 JSON (자른)를 반환 : 나는 API에 전화를 걸 다시 검색어를 기반으로 모든 팟 캐스트 앨범을 얻을 수 있어요 이제 첫 번째 결과에서 모든 에피소드를 가져옵니다. collectionId를 사용하여 조회 요청을 시도했지만 그 컬렉션의 모든 podcast 대신 위에 나온 것과 동일한 출력을 반환합니다.
https://itunes.apple.com/lookup?id=381816509&entity=podcast
문서 및 다른 게시물을 읽은 다음 이것이 작동해야한다고 생각합니다. 그러나 그렇지 않습니다. 누구든지 나를 도울 수 있습니까? 감사.
:이 코드를 사용 – inorganik