QQ音乐API

今天分享的是QQ音乐API

搜索歌曲API:http://s.music.qq.com/fcgi-bin/music_search_new_platform?t=0& amp;n={2}&aggr=1&cr=1&loginUin={3}&format=json&inCharset=GB2312&outCharset=utf-8&notice=0&platform=jqminiframe.json&needNewCode=0&p={1}&catZhida=0&remoteplace=sizer.newclient.next_song&w={0}

{0}=需要搜索的歌曲或歌手

{1}=查询的页码数

{2}=当前页的返回数量

{3}=默认为0,是登录的QQ号ID

例子:http://s.music.qq.com/fcgi-bin/music_search_new_platform?t=0& n=5&aggr=1&cr=1&loginUin=0&format=json& inCharset=GB2312&outCharset=utf-8&notice=0& platform=jqminiframe.json&needNewCode=0&p=1&catZhida=0& remoteplace=sizer.newclient.next_song&w=周杰伦
返回

{
    "code": 0,
    "data": {
        "keyword": "周杰伦",
        "priority": 0,
        "qc": [],
        "semantic": {
            "curnum": 0,
            "curpage": 1,
            "list": [],
            "totalnum": 0
        },
        "song": {
            "curnum": 15,
            "curpage": 1,
            "list": [
                {
                    "albumName_hilight": "哎呦,不错哦",
                    "chinesesinger": 0,
                    "docid": "8758666917101856462",
                    "f": "101369814|算什么男人|4558|周杰伦|852856|哎呦,不错哦|2496580|289|6|1|0|11580808|4632445|320000|0|31933476|32002118|6708265|6989683|0|001Js78a40BZU6|0025NhlN2yWrP4|001uqejs3d6EID|31|0",
                    "fiurl": "",
                    "fnote": 0,
                    "fsinger": "周杰伦",
                    "fsinger2": "",
                    "fsong": "算什么男人",
                    "grp": [],
                    "isupload": 0,
                    "isweiyun": 0,
                    "lyric": "",
                    "lyric_hilight": "",
                    "mv": "c0015vx9gdg",
                    "nt": 10000,
                    "only": 1,
                    "pubTime": 1419523200,
                    "pure": 0,
                    "singerMID": "0025NhlN2yWrP4",
                    "singerMID2": "",
                    "singerName2_hilight": "",
                    "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                    "singerid": 4558,
                    "singerid2": 0,
                    "songName_hilight": "算什么男人",
                    "t": 1,
                    "tag": 10,
                    "ver": 0
                },
                {
                    "albumName_hilight": "哎呦,不错哦",
                    "chinesesinger": 0,
                    "docid": "12455748783386394049",
                    "f": "101787870|手写的从前|4558|周杰伦|852856|哎呦,不错哦|2563780|297|6|1|0|11901591|4760759|320000|0|31919200|32299126|6686621|6881464|0|002u8ZOM4C7QF4|0025NhlN2yWrP4|001uqejs3d6EID|31|0",
                    "fiurl": "",
                    "fnote": 0,
                    "fsinger": "周杰伦",
                    "fsinger2": "",
                    "fsong": "手写的从前",
                    "grp": [
                        {
                            "albumName_hilight": "2015江苏卫视新年演唱会",
                            "chinesesinger": 0,
                            "docid": "8524459989778971468",
                            "f": "101803866|手写的从前|4558|周杰伦|929853|2015江苏卫视新年演唱会|2474194|287|3|1|0|0|4596097|128000|0|0|0|0|0|0|001cCPt60GRPUz|0025NhlN2yWrP4|002xOmp62kqSic|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "手写的从前 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "a0015etg641",
                            "nt": 10001,
                            "only": 0,
                            "pubTime": 1420041600,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "手写的从前 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        }
                    ],
                    "isupload": 0,
                    "isweiyun": 0,
                    "lyric": "优酸乳为爱告白 广告曲",
                    "lyric_hilight": "优酸乳为爱告白 广告曲",
                    "mv": "k0015ms0ov0",
                    "nt": 10001,
                    "only": 1,
                    "pubTime": 1419523200,
                    "pure": 0,
                    "singerMID": "0025NhlN2yWrP4",
                    "singerMID2": "",
                    "singerName2_hilight": "",
                    "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                    "singerid": 4558,
                    "singerid2": 0,
                    "songName_hilight": "手写的从前",
                    "t": 1,
                    "tag": 10,
                    "ver": 0
                },
                {
                    "albumName_hilight": "我很忙",
                    "chinesesinger": 0,
                    "docid": "4953153690890266244",
                    "f": "410316|青花瓷|4558|周杰伦|33021|我很忙|1942555|239|8|1|0|9573872|3836490|320000|0|25541938|26237796|5414428|5617369|0|002qU5aY3Qu24y|0025NhlN2yWrP4|002eFUFm2XYZ7z|31|0",
                    "fiurl": "",
                    "fnote": 0,
                    "fsinger": "周杰伦",
                    "fsinger2": "",
                    "fsong": "青花瓷",
                    "grp": [
                        {
                            "albumName_hilight": "K情歌10",
                            "chinesesinger": 0,
                            "docid": "11254040215489699229",
                            "f": "4758498|青花瓷|4558|周杰伦|423011|K情歌10|2045366|237|1|1|0|0|3799447|128000|0|0|0|0|0|0|0034axGS2MI3sT|0025NhlN2yWrP4|002GJDhP0ZluDv|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "青花瓷",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "l00131om505",
                            "nt": 10002,
                            "only": 0,
                            "pubTime": 1361462400,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "青花瓷",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "热搜铃声",
                            "chinesesinger": 0,
                            "docid": "2997797877615103176",
                            "f": "101835716|青花瓷 (铃声)|4558|周杰伦|881348|热搜铃声|326994|37|8|1|0|1512185|605005|320000|0|4625595|4683771|921951|952005|0|004bOIwA0347Lp|0025NhlN2yWrP4|001S6jc81P4OvC|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "青花瓷 (铃声)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10002,
                            "only": 0,
                            "pubTime": 1420041600,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "青花瓷 (铃声)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        }
                    ],
                    "isupload": 0,
                    "isweiyun": 0,
                    "lyric": "",
                    "lyric_hilight": "",
                    "mv": "l00131om505",
                    "nt": 10002,
                    "only": 1,
                    "pubTime": 1193932800,
                    "pure": 0,
                    "singerMID": "0025NhlN2yWrP4",
                    "singerMID2": "",
                    "singerName2_hilight": "",
                    "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                    "singerid": 4558,
                    "singerid2": 0,
                    "songName_hilight": "青花瓷",
                    "t": 1,
                    "tag": 0,
                    "ver": 0
                },
                {
                    "albumName_hilight": "寻找<span class=\"c_tx_highlight\">周杰伦</span>",
                    "chinesesinger": 0,
                    "docid": "10191134707667032736",
                    "f": "97783|断了的弦|4558|周杰伦|8221|寻找周杰伦|2378573|293|10|1|0|11744124|4696154|320000|0|31218341|32737193|6808158|7168784|0|003nK1U41u00q1|0025NhlN2yWrP4|001BGzMs369FzU|31|0",
                    "fiurl": "",
                    "fnote": 0,
                    "fsinger": "周杰伦",
                    "fsinger2": "",
                    "fsong": "断了的弦 (伴奏)",
                    "grp": [
                        {
                            "albumName_hilight": "寻找<span class=\"c_tx_highlight\">周杰伦</span>",
                            "chinesesinger": 0,
                            "docid": "2690403057583679707",
                            "f": "97782|断了的弦|4558|周杰伦|8221|寻找周杰伦|2411617|297|9|1|0|11895634|4763445|320000|0|31653329|33029764|6553270|6984540|0|003ZdxP61ClQZ5|0025NhlN2yWrP4|001BGzMs369FzU|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "断了的弦",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "电影《寻找周杰伦》插曲",
                            "lyric_hilight": "电影《寻找<span class=\"c_tx_highlight\">周杰伦</span>》插曲",
                            "mv": "r0013wcyzl4",
                            "nt": 10003,
                            "only": 0,
                            "pubTime": 1067616000,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "断了的弦",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span> 2004 无与伦比 演唱会 Live CD",
                            "chinesesinger": 0,
                            "docid": "9281317214309150225",
                            "f": "4962992|断了的弦|4558|周杰伦|14323|周杰伦 2004 无与伦比 演唱会 Live CD|2503008|290|3|1|0|11615325|4646274|320000|0|35608020|35843959|6682152|7228609|0|0006yaTm0WDI7M|0025NhlN2yWrP4|0032ezFm3F53yO|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "断了的弦 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10003,
                            "only": 0,
                            "pubTime": 1106150400,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "断了的弦 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        }
                    ],
                    "isupload": 0,
                    "isweiyun": 0,
                    "lyric": "",
                    "lyric_hilight": "",
                    "mv": "",
                    "nt": 10003,
                    "only": 1,
                    "pubTime": 1067616000,
                    "pure": 0,
                    "singerMID": "0025NhlN2yWrP4",
                    "singerMID2": "",
                    "singerName2_hilight": "",
                    "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                    "singerid": 4558,
                    "singerid2": 0,
                    "songName_hilight": "断了的弦 (伴奏)",
                    "t": 1,
                    "tag": 10,
                    "ver": 0
                },
                {
                    "albumName_hilight": "Jay",
                    "chinesesinger": 0,
                    "docid": "14303915167107409415",
                    "f": "97758|龙卷风|4558|周杰伦|8218|Jay|2033113|250|5|1|0|10037805|4016134|320000|0|26976920|27794719|5309494|5960922|0|002l8JN71d2Dxy|0025NhlN2yWrP4|000f01724fd7TH|31|0",
                    "fiurl": "",
                    "fnote": 0,
                    "fsinger": "周杰伦",
                    "fsinger2": "",
                    "fsong": "龙卷风",
                    "grp": [
                        {
                            "albumName_hilight": "The Era 2010 超时代演唱会",
                            "chinesesinger": 0,
                            "docid": "11830165131099900276",
                            "f": "4829324|龙卷风|4558|周杰伦|67340|The Era 2010 超时代演唱会|2147768|249|10|1|0|9964201|3985858|320000|0|31274215|31521569|5652283|6136785|0|001H8Gae45ikHR|0025NhlN2yWrP4|002o2a5G46ETLr|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "龙卷风 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "X0010KChPCn",
                            "nt": 10004,
                            "only": 0,
                            "pubTime": 1295884800,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "龙卷风 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span> 2004 无与伦比 演唱会 Live CD",
                            "chinesesinger": 0,
                            "docid": "13224632523111011719",
                            "f": "4962978|龙卷风|4558|周杰伦|14323|周杰伦 2004 无与伦比 演唱会 Live CD|2141406|248|3|1|0|9935127|3974193|320000|0|30864029|31432703|5698109|6273651|0|000vm0CC2N5DvK|0025NhlN2yWrP4|0032ezFm3F53yO|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "龙卷风 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10004,
                            "only": 0,
                            "pubTime": 1106150400,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "龙卷风 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "The One演唱会",
                            "chinesesinger": 0,
                            "docid": "12140579362073679756",
                            "f": "7098053|龙卷风|4558|周杰伦|14320|The One演唱会|2144584|248|10|1|0|9946591|3978761|320000|0|30048676|30509084|5270411|6062959|0|002RY0aC4612wn|0025NhlN2yWrP4|001O06fF2b3W8P|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "龙卷风 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10004,
                            "only": 0,
                            "pubTime": 1033401600,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "龙卷风 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "Fantasy Show香港演唱会",
                            "chinesesinger": 0,
                            "docid": "7847914747533822478",
                            "f": "162379|龙卷风|4558|周杰伦|14319|Fantasy Show香港演唱会|2141879|263|4|1|0|0|4210067|0|0|0|0|0|0|0|001wJfUe4IGByO|0025NhlN2yWrP4|00474nNC0yEs3T|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "龙卷风 (Live)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10004,
                            "only": 0,
                            "pubTime": 1004889600,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "龙卷风 (Live)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        },
                        {
                            "albumName_hilight": "热搜铃声",
                            "chinesesinger": 0,
                            "docid": "10082662556977192226",
                            "f": "101835715|龙卷风 (铃声)|4558|周杰伦|881348|热搜铃声|282194|32|8|1|0|1299026|519585|320000|0|4220863|4221506|721369|812585|0|0004RoQz4B6efJ|0025NhlN2yWrP4|001S6jc81P4OvC|31|0",
                            "fiurl": "",
                            "fnote": 0,
                            "fsinger": "周杰伦",
                            "fsinger2": "",
                            "fsong": "龙卷风 (铃声)",
                            "isupload": 0,
                            "isweiyun": 0,
                            "lyric": "",
                            "lyric_hilight": "",
                            "mv": "",
                            "nt": 10004,
                            "only": 0,
                            "pubTime": 1420041600,
                            "pure": 0,
                            "singerMID": "0025NhlN2yWrP4",
                            "singerMID2": "",
                            "singerName2_hilight": "",
                            "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                            "singerid": 4558,
                            "singerid2": 0,
                            "songName_hilight": "龙卷风 (铃声)",
                            "t": 1,
                            "tag": 0,
                            "ver": 0
                        }
                    ],
                    "isupload": 0,
                    "isweiyun": 0,
                    "lyric": "",
                    "lyric_hilight": "",
                    "mv": "X0010KChPCn",
                    "nt": 10004,
                    "only": 1,
                    "pubTime": 973526400,
                    "pure": 0,
                    "singerMID": "0025NhlN2yWrP4",
                    "singerMID2": "",
                    "singerName2_hilight": "",
                    "singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
                    "singerid": 4558,
                    "singerid2": 0,
                    "songName_hilight": "龙卷风",
                    "t": 1,
                    "tag": 0,
                    "ver": 0
                }
            ],
            "totalnum": 389
        },
        "totaltime": 0.00001,
        "zhida": {
            "chinesesinger": 0,
            "type": 0
        }
    },
    "message": "",
    "notice": "",
    "subcode": 0,
    "time": 1423298505,
    "tips": ""
}

分析json格式,歌曲名称,歌手,专辑,还有其中的f的属性

"f": "101369814|算什么男人|4558|周杰伦|852856|哎呦,不错哦|2496580|289|6|1|0|11580808|4632445|320000|0|31933476|32002118|6708265|6989683|0|001Js78a40BZU6|0025NhlN2yWrP4|001uqejs3d6EID|31|0"

id=001Js78a40BZU6

img=001uqejs3d6EID

lrc=101369814

这些ID在下面的API中会有用的

获取播放key:http://base.music.qq.com/fcgi-bin /fcg_musicexpress.fcg?json=3&loginUin={0}&format=jsonp&inCharset=GB2312&outCharset=GB2312&notice=0&platform=yqq&needNewCode=0

{0}=默认为0,是登录的QQ号ID

返回

jsonCallback({"code":0,"sip"["http://ws.stream.qqmusic.qq.com/","http://cc.stream.qqmusic.qq.com/","http://124.14.15.19/streamoc.music.tc.qq.com/"],"key":"6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659"});

key=6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659

播放歌曲API:http://cc.stream.qqmusic.qq.com/C200{0}.m4a?vkey={1}&fromtag=0

{0}=上面取到的ID

{1}=上面取到的KEY

例子:http://cc.stream.qqmusic.qq.com /C200001Js78a40BZU6.m4a?vkey=6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659&fromtag=0

歌曲图片API:http://imgcache.qq.com/music/photo/mid_album_90/{1}/{2}/{0}.jpg

{0}=上面取到的Img

{1]=上面取到的Img的倒数第二个字符

{2}=上面取到的Img的最后一个字符

例子:http://imgcache.qq.com/music/photo/mid_album_90/I/D/001uqejs3d6EID.jpg

歌词API:http://music.qq.com/miniportal/static/lyric/{1}/{0}.xml

{0}=上面取到的Lrc

{1}=上面取到的Lrc%100

例子:http://music.qq.com/miniportal/static/lyric/14/101369814.xml

这个LRC有时会失效的

以后在补上QQ音乐的歌词搜索API

利用音乐接口我做了个微信点歌的微信公众号微点歌:vdiange

大家可以添加微点歌vdiange测试一下:

时间: 2024-08-10 17:45:43

QQ音乐API的相关文章

QQ音乐API分析

QQ音乐API分析 官网提供API 说明:此API主要针对移动端直接调用QQ音乐API用,API只能在QQAPP内执行,上线时间尚短. http://y.qq.com/m/api/api.html 分析的API 说明: 根据官网https://y.qq.com/分析的API,经过测试,可以使用,测试demo如下,demo流程 1.首先根据关键字搜索歌曲>获取播放key>获取播放地址播放 https://192.168.60.50:8443/admin/public/music 经分析,也可不用

【QQ音乐Api】移花接木 打造自己的音乐电台

最近突发奇想想做个在线音乐小网页.需求很简单,如下 搜索歌曲 或 歌手 在线播放音乐 借用qq 或者 百度的 音乐接口 需求明确那就直接动手了 我首先尝试的百度音乐,但是不能在线播放(提示forbidden),虽然不能在线播放,但是下载是可以的 百度音乐具体Api如下 1:搜索接口 $url = "http://musicmini.baidu.com/app/search/searchList.php?qword=%s&ie=utf-8&page=1";//qword就

QQ音乐API分析2017

官网提供API 说明:此API主要针对移动端直接调用QQ音乐API用,API只能在QQAPP内执行,上线时间尚短. http://y.qq.com/m/api/api.html 自己分析的API 说明: 根据官网https://y.qq.com/分析的API,经过测试,可以使用,测试demo如下,demo流程 1.首先根据关键字搜索歌曲>获取播放key>获取播放地址播放 http://192.168.60.50:8081/shiro/public/music 经分析,也可不用获取播放key,先

调皮的QQ音乐API:修复无法获取歌单

上一篇完整版:http://www.cnblogs.com/TwilightLemon/p/7076938.html QQ音乐的API真是太调皮了,获取歌单的API又更换了好多次,喵喵喵 旧版API(已失效): https://y.qq.com/n/yqq/playlist/{0}.html#stat=y_new.profile.create_playlist.click&dirid=6 {0}:歌单ID 新版API: https://c.y.qq.com/qzone/fcg-bin/fcg_u

音乐API之QQ音乐

欢迎大家来到我的博客,这是我在博客园写的第一篇文章,但不会是最后一篇,希望大家多多关注我,支持我哦!正文开始,今天我们要讲的是QQ音乐的API,都是来源于官方的地址,以前我也想写一个,但百度谷歌之后都是一些很久以前的,而今天的是我从QQ音乐客户端抓包而来,希望大家喜欢. 本教程的示例代码为C# WPF,其他语言也可以,最关键的还是API嘛.首先我们需要搜索到音乐,取出他的各类值,才能进行播放http://59.37.96.220/soso/fcgi-bin/client_search_cp?fo

QQ音乐的各种相关API

QQ音乐的各种相关API 分类: oc2014-01-29 15:34 2676人阅读 评论(2) 收藏 举报 基本上论坛里做在线音乐的都在用百度的API,进来发现百度的API不仅歌曲的质量不可以保证,而且返回信息里面只有URL,没有一些相关的属性信息.所以就想方设法弄到了QQ音乐的API 已经用xCode尝试过并且可行的API:★搜索音乐(歌词)http://shopcgi.qqmusic.qq.com/fcgi-bin/shopsearch.fcg?value=歌曲名&artist=歌手名&a

QQ音乐无损歌曲接口api

1.打开QQ音乐官网 y.qq.com 2.选择你要的歌曲,进入后查看网址,以虎口脱险这个歌曲为例:http://y.qq.com/#type=song&mid=000Ib8E71sUNi7 找到歌曲里面的mid=后面这一段000Ib8E71sUNi7,这个就是歌曲的mid啦 然后,使用下面的方法 高品质mp3:http://stream3.qqmusic.qq.com/C200+mid+.mp3 加起来就是这样:http://stream3.qqmusic.qq.com/C200000Ib8E

QQ音乐接口api,包括付费音乐、无损音乐、高品质音乐地址解析接口api

QQ音乐网站所有音乐(包括付费.无损等版权音乐解析接口地址url). mp3 普通高品 http://dl.stream.qqmusic.qq.com/M5000012gqVh4fFvVK.mp3?vkey=419F0FD2E2552C95C4E76BFDFBF2BC331A2983AAEDC9CF91BBD4195603FE19B6550874248A1A87410D84D0405B2ABBD0F533F192C9B8EB35&guid=YYFM&uin=123456&fromt

QQ音乐/酷狗音乐锁屏控制实现原理

我实现的效果 混乱的锁屏控制 Android自4.0版本, 也就是API level 14开始, 加入了锁屏控制的功能, 相关的类是RemoteControlClient, 这个类在API level 21中被标记为deprecated, 被新的类MediaSession所替代. 我们的音乐App中最开始使用的是原生锁屏控制API, 说实话这个API不好用, 遇到了一些小坑, 最要命的是不同品牌的手机, 锁屏界面长的还不一样, 就连我自己都没见过原生4.0的锁屏控制界面是什么样的. 国内的手机厂