iTunes Search API - correct language of results

与世无争的帅哥 提交于 2019-12-23 22:24:54

问题


I'm using the iTunes API and I have a problem. I'm searching in den German store (parameter country=de) but the description in the resultset is English. Does someone know a workaround to get the German description. It's available, the iTunes store direct shows the German description. It tried to use the "lang" parameter, but it's defined that only "en_us" & "ja_jp" are possible values. I depend on the official documentation of apple.

Here is the API Call: http://itunes.apple.com/search?term=angry+birds&country=de&entity=software

And for the first result, here is the detail page in iTunes web: http://itunes.apple.com/de/app/angry-birds/id343200656?mt=8&uo=4


Sorry, I got it by myself...

You have to use

http://itunes.apple.com/de/search?term=angry+birds&country=de&entity=software


回答1:


prepend the URL path with /de like so:

http://itunes.apple.com/de/search?term=angry+birds&country=de&entity=software


来源:https://stackoverflow.com/questions/11799566/itunes-search-api-correct-language-of-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!