I need get hot search keywords using apple API https://search.itunes.apple.com/WebObjects/MZSearchHints.woa/wa/trends,
and set values {"X-Apple-Store-Front": "143465-19,30"} in http
headers, if i set "X-Apple-Store-Front" to "143465-19,30", the result is
{
"header": {
"label": "热门搜索"
},
"trendingSearches": [
{
"label": "蜜芽",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E8%9C%9C%E8%8A%BD"
},
{
"label": "qq",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=qq"
},
{
"label": "腾讯视频",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E8%85%BE%E8%AE%AF%E8%A7%86%E9%A2%91"
},
{
"label": "微信",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E5%BE%AE%E4%BF%A1"
},
{
"label": "爱奇艺",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E7%88%B1%E5%A5%87%E8%89%BA"
},
{
"label": "淘宝",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E6%B7%98%E5%AE%9D"
},
{
"label": "百度",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E7%99%BE%E5%BA%A6"
},
{
"label": "qq音乐",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=qq%E9%9F%B3%E4%B9%90"
},
{
"label": "微博",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E5%BE%AE%E5%8D%9A"
},
{
"label": "百度网盘",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=Software&src=trending&term=%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98"
}
]
}
if i set "X-Apple-Store-Front" to "143465-19,29", the result will change.
{
"header": {
"label": "热门搜索"
},
"trendingSearches": [
{
"label": "铃声",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E9%93%83%E5%A3%B0"
},
{
"label": "李荣浩",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E6%9D%8E%E8%8D%A3%E6%B5%A9"
},
{
"label": "泰勒·斯威夫特",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E6%B3%B0%E5%8B%92%C2%B7%E6%96%AF%E5%A8%81%E5%A4%AB%E7%89%B9"
},
{
"label": "像我这样的人",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E5%83%8F%E6%88%91%E8%BF%99%E6%A0%B7%E7%9A%84%E4%BA%BA"
},
{
"label": "eminem",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=eminem"
},
{
"label": "杨宗纬",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E6%9D%A8%E5%AE%97%E7%BA%AC"
},
{
"label": "张碧晨",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E5%BC%A0%E7%A2%A7%E6%99%A8"
},
{
"label": "刘若英",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E5%88%98%E8%8B%A5%E8%8B%B1"
},
{
"label": "lady gaga",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=lady%20gaga"
},
{
"label": "赵雷",
"url": "https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search?clientApplication=MusicPlayer&src=trending&term=%E8%B5%B5%E9%9B%B7"
}
]
}
, pls tell me what does mean and how to use X-Apple-Store-Front, and the X-Apple-Store-Front mapping?
THis X-Apple-Store-Front
is a country code. For more info:
https://affiliate.itunes.apple.com/resources/documentation/linking-to-the-itunes-music-store/