Github地址

https://github.com/California3/API

写在前面

此API接口可以返回与搜索关键词有关的影视数据、音频数据和文学数据。此接口涉及到的软件与技术包括 MySQL、PHP、Redis、Nginx.

API 地址

https://www.6zgm.com/api.html

调用方法

同时支持 GET 和 POST 方法调用。

传入参数

'key':搜索词;

返回数据类型(数据结构)

Json (Key-Value 键值对)

返回数据分析

91194-fpu5mmgcub9.png
共分六类:HD、FHD、song、poet、playlist、channel.

  1. HD:返回标清影视数据(Array类型)
    24902-u41ljc221no.png
  2. FHD:返回蓝光影视数据 (Array类型)
    80393-3sp0z93ubwv.png
  3. song: 返回歌曲数据 (Array类型)
    12212-izcnyxnk05.png
  4. poet:返回古诗词数据 (Array类型)
    35341-7lwecu1smwa.png
  5. playlist:返回播放列表数据 (Array类型)
    01888-b3gmabriza.png
  6. channel:返回视频博主数据 (Array类型)
    58899-521lg1eb2ca.png

Demo

使用 GET 方法,传递参数key,其内容为 满满喜欢你:

https://www.6zgm.com/api.html?key=%E6%BB%A1%E6%BB%A1%E5%96%9C%E6%AC%A2%E4%BD%A0

返回内容:

{"HD":[{"flag":0,"flag_name":"\u4e8c\u53f7\u7ebf","from":"zuida","type":"zuidam3u8","id":"69807","title":"\u6ee1\u6ee1\u559c\u6b22\u4f60","img:":"null"},{"flag":1,"flag_name":"wlm3u8","from":"wolong","type":"wlm3u8","id":"270052","title":"\u6ee1\u6ee1\u559c\u6b22\u4f60","img:":"null"},{"flag":2,"flag_name":"\u4e00\u53f7\u7ebf","from":"ck","type":"ckm3u8","id":"41049","title":"\u6ee1\u6ee1\u559c\u6b22\u4f60","img:":"null"}],"FHD":[{"id":"952","title":"\u6ee1\u6ee1\u559c\u6b22\u4f60","size":"32","img":"https:\/\/www.6zgm.com\/api\/dubo.php?url=https%3A%2F%2Fwww.fanstui.com%2Fupload%2Fvod%2F20191008-1%2F3976d746ef3630a0a24e30de4a15f6f4.jpg"}],"song":[{"name":"\u5c0f\u5c0f","url":"","song_id":1395972853,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u4f55\u66fc\u5a77"},{"name":"\u4ecb\u610f","url":"","song_id":1396181557,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u5468\u9510"},{"name":"\u559c\u6b22\u4f60\u5440\u771f\u559c\u6b22","url":"","song_id":1375018331,"cover":"https:\/\/p3.music.126.net\/zXkaBgdgEc08F65Wx-nCIA==\/109951164183588105.jpg?param=300y300","author":"\u963f\u6ee1\u6ee1"},{"name":"\u4e3a\u7231\u800c\u7231","url":"","song_id":1396181630,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u9c81\u7167\u534e"},{"name":"\u6469\u5361\u6469\u5361","url":"","song_id":1396181832,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u9648\u82b3\u8bed"},{"name":"\u592a\u9633\u96e8","url":"","song_id":1395822786,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u6797\u6e1d\u690dAnoryz"},{"name":"\u5c0f\u5c0f (\u4f34\u594f)","url":"","song_id":1395977248,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u4f55\u66fc\u5a77"},{"name":"\u6469\u5361\u6469\u5361 (\u4f34\u594f)","url":"","song_id":1396181905,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u9648\u82b3\u8bed"},{"name":"\u4ecb\u610f (\u4f34\u594f)","url":"","song_id":1396178904,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u5468\u9510"},{"name":"\u4e3a\u7231\u800c\u7231 (\u4f34\u594f)","url":"","song_id":1396178974,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u9c81\u7167\u534e"},{"name":"\u592a\u9633\u96e8 (\u4f34\u594f)","url":"","song_id":1395826306,"cover":"https:\/\/p3.music.126.net\/rcoEHuXMJhXxWuM2iZrnXw==\/109951164419672538.jpg?param=300y300","author":"\u6797\u6e1d\u690dAnoryz"}],"poet":[],"playlist":[{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PL0PsHrQxhYwQo8U26PHAmW3wcjLJWumEr","name":"\u3010ENG SUB\u3011\u300a\u6ee1\u6ee1\u559c\u6b22\u4f60\u300b\u6ee1\u7cd6\u521d\u604b\uff01\u6b66\u529b\u5c11\u5973\u60c5\u5b9a\u51b0\u5c71\u5b66\u9738\u301032\u96c6\u5168\u3011All I Want for Love Is You\u3010\u8292\u679cTV\u72ec\u64ad\u5267\u573a\u3011"},{"img":"https:\/\/i.ytimg.com\/vi\/yLL6Tc02NHo\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLB44i0fRUif9CqWLgcOYx_OcpVnZQ","size":"41","listid":"PLl0EeHxOrvlMvfLgXJrur_kqoX55GuD2H","name":"\ud83c\udfc1\ud83c\udfc1#\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/yLL6Tc02NHo\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLB44i0fRUif9CqWLgcOYx_OcpVnZQ","size":"32","listid":"PLEXBGg5OB0B_VVQXo5IAKXGIxqsHIpBcq","name":"ENG SUB |\u300a\u6eff\u6eff\u559c\u6b61\u59b3 All I Want for Love is You\u300b\u2014\u2014\u59b3\u559c\u6b61\u7684\u4eba\u4e5f\u6070\u597d\u559c\u6b61\u59b3"},{"img":"https:\/\/i.ytimg.com\/vi\/yLL6Tc02NHo\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLB44i0fRUif9CqWLgcOYx_OcpVnZQ","size":"32","listid":"PL6uQDIkscD3WkI0c5jSfrzW6lCQldRAi7","name":"\u6162\u6162\u559c\u6b22\u4f60 \/ All I Want for Love is you"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLPiEmxb_O3amTwq_veuE-Ma_1Su-zq0ou","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60(32\u96c6\u5b8c\u7ed3)"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PL2kjupWLFLPP1WiRW6cmMnWPy3XaXFlfc","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"30","listid":"PLfI3l8vKyMB5b8x9WY87gZKW62_k7lHlL","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"13","listid":"PLr8NtYEPVyhC1hHlYf3tD4H4M5Errcryl","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLQCjeION1G3yL_ZZsjfCjrPpwa_colwy7","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLGMn_M1Fmi2hXqclId3yJWLlMGb457_C1","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLrfTlAUJCh0koHbXqKD5Oe0s4h0MNdhy0","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/_dvz6fOnbGk\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBSdmTe2Ax1VPogC_d2Pilba4D_8g","size":"60","listid":"PL0PsHrQxhYwR5eVNvfzDkf5v8zbM4ghKA","name":"\u300a\u6ee1\u6ee1\u559c\u6b22\u4f60\u300b\u7cbe\u5f69\u9884\u544a\u82b1\u7d6e All I Want for Love Is You\u3010\u8292\u679cTV\u72ec\u64ad\u5267\u573a\u3011"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"21","listid":"PLtaJs7ghDOATmLv5hjh_3_dJ_HYtcNbFl","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLuM-Rs5kdfVjXkuvhfHE2C_NLEDf0Hm3z","name":"\u6eff\u6eff\u559c\u6b61\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/_dvz6fOnbGk\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBSdmTe2Ax1VPogC_d2Pilba4D_8g","size":"99","listid":"PLwLNvKZ4Tqr_A5-J29yiLu_yiiGDZNJXL","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60(All I want for love is you)-1 To"},{"img":"https:\/\/i.ytimg.com\/vi\/yHZcBySc_y8\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLA_UNrLRbYqNZpoCmMljOjoVaQyyw","size":"68","listid":"PL3aQs2LnuatMXePPwFxsf7OLpbsUl51X7","name":"\ud83d\udcfa\u300aAll I Want for Love is You\u300b\u300a\u6ee1\u6ee1\u559c\u6b22\u4f60\u300b(C-Drama) (2019)"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"41","listid":"PLuOt_t8tYzSY3CXYtvjhU9n1KJEgey9Pl","name":"\u6eff\u6eff\u559c\u6b22\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"31","listid":"PLm0dvTe_o7K7e78aS6zJoXZj0UW3nTijN","name":"\u6eff\u6eff\u559c\u6b61\u4f60"},{"img":"https:\/\/i.ytimg.com\/vi\/x1uPL2PLoQY\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAkXf6KciWpBoSuXUZuVCKQjZZprQ","size":"32","listid":"PLWed1BIUebqNBRRCzkmR_1TlQCzX2EZRc","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60 All I Want For Love Is You"},{"img":"https:\/\/i.ytimg.com\/vi\/yLL6Tc02NHo\/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLB44i0fRUif9CqWLgcOYx_OcpVnZQ","size":"35","listid":"PLuS1NmZI6G1g0Op2UWb9HfwTNxf197ccz","name":"\u6ee1\u6ee1\u559c\u6b22\u4f60 all I want for love is you"}],"channel":[{"channelid":"UCTulSfEm1c14WWRbSN-CNAQ","name":"\u8292\u679cTV\u9752\u6625\u5267\u573a MGTV Drama Channel"},{"channelid":"UCVm75cj78njo38Izz_suQQA","name":"\u9177\u770b\u7368\u64ad\u5287\u5834 - KUKAN Drama Channel"},{"channelid":"UCBJmYv3Vf_tKcQr5_qmayXg","name":"\u8001\u996d\u9aa8"},{"channelid":"UCwHUYtwH5E41O6MiYoC19ng","name":"\u548c\u4e4b\u68a6 - \u5b98\u65b9\u9891\u9053"},{"channelid":"UCcFOYC02BaNK8B1-Q6pOcBg","name":"\u8001\u90aa\u8bf4\u7535\u5f71"},{"channelid":"UCFR_JnVrS-BJZgmCp0EY-TQ","name":"\u5c0f\u6eff\u5bb6\u7684\u665a\u98efMun's Flavor"},{"channelid":"UCJSp9dDi6OnVtXUip-SS5gw","name":"\u7389\u9762\u5c0f\u5ae3\u7136"},{"channelid":"UCYQPTeY3HOk0BprrGuCWCaA","name":"\u4f18\u9177\u7f51\u5b98\u65b9\u9891\u9053 Youku Official channel--\u4e16\u754c\u90fd\u5728\u770b"},{"channelid":"UCa6ERCDt3GzkvLye32ar89w","name":"\u6c5f\u5cf0\u65f6\u523b"},{"channelid":"UCOy6xOyF0MG9hJq-tPz-jqg","name":"\u6eff\u6f22\u5168\u5e2d\u97f3\u6a02\u5718\u968a"},{"channelid":"UCl3MRIpEjC4v2wWdsk2Mabw","name":"\u8fea\u58eb\u5c3c\u5f71\u696d"},{"channelid":"UCVUOce322KIRv_em2U33hRQ","name":"\u4e61\u91ce\u8001\u5ed6"},{"channelid":"UCBuHkb1AS_yRQ71meFNQ3VQ","name":"\u5e74\u4ee3\u5411\u9322\u770b"},{"channelid":"UCnGhP7LcQbsEBu3GDjY5mcQ","name":"\u519c\u6751\u6e90\u5b50\u5b98\u65b9\u9891\u9053"},{"channelid":"UCIHU9P3R1OpuyRP3-c6W-KA","name":"ManLife\u963f\u6eff\u751f\u6d3b"},{"channelid":"UCeo3JwE3HezUWFdVcehQk9Q","name":"\u963f\u6ef4\u82f1\u6587"},{"channelid":"UCoC47do520os_4DBMEFGg4A","name":"\u674e\u5b50\u67d2 Liziqi"},{"channelid":"UC_Wx32AvmjQhKPR0MlpdImA","name":"\u5e03\u8863\u5c0f\u7ae5\u5b98\u65b9\u983b\u9053"},{"channelid":"UCPQhf0r3Ujh-ImTLjLrQY5w","name":"\u6f01\u5c0f\u4ed9"},{"channelid":"UCFXz32DgWDWjOgCE8_6_MNg","name":"\u963f\u6e14\u59b9"}]}
最后修改:2020 年 05 月 02 日 06 : 30 AM
如果觉得我的文章对你有用,请随意赞赏,感谢您支持6zgm.com !