网易音乐搜索API
URL:http://s.music.163.com/search/get/
获取方式:GET
参数:
src: lofter //可为空
type: 1
filterDj: true|false //可为空
s: //关键词
limit: 10 //限制返回结果数
offset: 0 //偏移
callback: //为空时返回json,反之返回jsonp callback
返回值
{
"result": {
"songCount": 1,
"songs": [
{
"id": 29095252,
"name": "江山背后",
"artists": [
{
"id": 3702,
"name": "林峰",
"picUrl": null
}
],
"album": {
"id": 2990023,
"name": "大汉贤后卫子夫 电视原声带",
"artist": {
"id": 0,
"name": "",
"picUrl": null
},
"picUrl": "http://p1.music.126.net/5sevBaiwG3qNeKOgnAM-MQ==/6656443394791286.jpg"
},
"audio": "http://m1.music.126.net/h8C2PGPYwopssznLIf97qA==/6621259022695036.mp3",
"djProgramId": 0
}
]
},
"code": 200
}