lx-music-api-server/assets/api.html-HY3hTcwQ.js

2 lines
5.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,e as d,o as i}from"./app-CVq7Ni1r.js";const o={};function r(l,t){return i(),a("div",null,t[0]||(t[0]=[d('<h1 id="接口列表" tabindex="-1"><a class="header-anchor" href="#接口列表"><span>接口列表</span></a></h1><h2 id="_1-获取播放链接-获取会员歌曲请自行充值会员后在配置文件内填写-cookie" tabindex="-1"><a class="header-anchor" href="#_1-获取播放链接-获取会员歌曲请自行充值会员后在配置文件内填写-cookie"><span>1.获取播放链接(获取会员歌曲请自行充值会员后在配置文件内填写 cookie</span></a></h2><table><thead><tr><th>平台</th><th>请求方法</th><th>请求路径</th></tr></thead><tbody><tr><td>Kuwokw</td><td>GET</td><td>/url?source=kw&amp;songId=m&amp;quality=q</td></tr><tr><td>Tencenttx</td><td>GET</td><td>/url?source=tx&amp;songId=m&amp;quality=q</td></tr><tr><td>Kugoukg</td><td>GET</td><td>/url?source=kg&amp;songId=h&amp;quality=q</td></tr><tr><td>Neteasewy</td><td>GET</td><td>/url?source=wy&amp;songId=m&amp;quality=q</td></tr><tr><td>Migumg</td><td>GET</td><td>/url?source=mg&amp;songId=m&amp;quality=q</td></tr></tbody></table><p>参数详解:</p><p>m : 各大平台歌曲详情页最后面的一串字符tx 是字母+数字混合,其它都是纯数字)</p><p>h : 酷狗音乐歌曲的哈希hash最好通过搜索接口获得</p><p>q : 歌曲的音质,</p><ol><li>128k</li><li>320k</li><li>flac</li><li>hires</li><li>atmos</li><li>atmos_plus</li><li>master</li></ol><h2 id="_2-搜索" tabindex="-1"><a class="header-anchor" href="#_2-搜索"><span>2.搜索</span></a></h2><table><thead><tr><th>平台</th><th>请求方法</th><th>路径</th></tr></thead><tbody><tr><td>Kugou</td><td>GET</td><td>/search/kg/song?query=k&amp;page=p</td></tr></tbody></table><p>参数详解:</p><p>k : 你需要搜索的歌曲的名称</p><p>p : 页数</p><h2 id="_3-mv" tabindex="-1"><a class="header-anchor" href="#_3-mv"><span>3.MV</span></a></h2><table><thead><tr><th>平台</th><th>请求方法</th><th>路径</th></tr></thead><tbody><tr><td>Kugou</td><td>GET</td><td>/mv/kg/mvid</td></tr></tbody></table><p>参数详解:</p><p>mvid : 调用搜索接口获得</p><h2 id="_4-歌曲详情" tabindex="-1"><a class="header-anchor" href="#_4-歌曲详情"><span>4.歌曲详情</span></a></h2><table><thead><tr><th>平台</th><th>请求方法</th><th>路径</th></tr></thead><tbody><tr><td>Kugou</td><td>GET</td><td>/info/kg/h</td></tr><tr><td>Tencent</td><td>GET</td><td>/info/tx/m</td></tr></tbody></table><p>参数详解:</p><p>h : 经典 hash 值</p><p>m : 经典歌曲 ID</p>',22)]))}const h=e(o,[["render",r],["__file","api.html.vue"]]),s=JSON.parse('{"path":"/guide/api/api.html","title":"API接口","lang":"zh-CN","frontmatter":{"head":[["meta",{"name":"keywords","content":"API接口"}],["meta",{"property":"og:url","content":"https://apidoc.zcmonety.xyz/guide/api/api.html"}],["meta",{"property":"og:site_name","content":"LX Music Api Server"}],["meta",{"property":"og:title","content":"API接口"}],["meta",{"property":"og:description","content":"接口列表 1.获取播放链接(获取会员歌曲请自行充值会员后在配置文件内填写 cookie 参数详解: m : 各大平台歌曲详情页最后面的一串字符tx 是字母+数字混合,其它都是纯数字) h : 酷狗音乐歌曲的哈希hash最好通过搜索接口获得 q : 歌曲的音质, 128k 320k flac hires atmos atmos_plus ma..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-05-31T07:43:45.000Z"}],["meta",{"property":"article:author","content":"ikun0014"}],["meta",{"property":"article:published_time","content":"2025-05-31T00:00:00.000Z"}],["meta",{"property":"article:modified_time","content":"2025-05-31T07:43:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"API接口\\",\\"image\\":[\\"\\"],\\"datePublished\\":\\"2025-05-31T00:00:00.000Z\\",\\"dateModified\\":\\"2025-05-31T07:43:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"ikun0014\\"}]}"]],"title":"API接口","icon":"fas fa-file-alt","author":"ikun0014","date":"2025-05-31T00:00:00.000Z","index":false,"description":"接口列表 1.获取播放链接(获取会员歌曲请自行充值会员后在配置文件内填写 cookie 参数详解: m : 各大平台歌曲详情页最后面的一串字符tx 是字母+数字混合,其它都是纯数字) h : 酷狗音乐歌曲的哈希hash最好通过搜索接口获得 q : 歌曲的音质, 128k 320k flac hires atmos atmos_plus ma..."},"headers":[{"level":2,"title":"1.获取播放链接(获取会员歌曲请自行充值会员后在配置文件内填写 cookie","slug":"_1-获取播放链接-获取会员歌曲请自行充值会员后在配置文件内填写-cookie","link":"#_1-获取播放链接-获取会员歌曲请自行充值会员后在配置文件内填写-cookie","children":[]},{"level":2,"title":"2.搜索","slug":"_2-搜索","link":"#_2-搜索","children":[]},{"level":2,"title":"3.MV","slug":"_3-mv","link":"#_3-mv","children":[]},{"level":2,"title":"4.歌曲详情","slug":"_4-歌曲详情","link":"#_4-歌曲详情","children":[]}],"git":{"createdTime":1748677425000,"updatedTime":1748677425000,"contributors":[{"name":"ikun0014","email":"ikun0014@qq.com","commits":1}]},"readingTime":{"minutes":0.98,"words":294},"filePathRelative":"guide/api/api.md","localizedDate":"2025年5月31日","autoDesc":true}');export{h as comp,s as data};