歌搜索和流preVIEW API [英] Song search and stream preview API

查看:128
本文介绍了歌搜索和流preVIEW API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一个API,我可以搜索一首歌曲,然后流歌曲的preVIEW在我的网站?

Is there an API where I can search for a song, and then stream the preview of the song on my site?

看着亚马逊的MP3,但我似乎无法找到亚马逊MP3的API。

Looked into Amazon MP3, but I can't seem to find an API for Amazon MP3.

此外看着last.fm Track.Search API,但是好像返回值似乎并没有给实际的文件名。 (即MP3等),这意味着我不能流在我的网站。

Also looked into last.fm Track.Search api, but seems like the return value doesn't seem to give the actual filename. (i.e mp3 etc), which means I can't stream it on my site.

请让我知道如果有其他不同的API我可以使用为好。

Please let me know if there are other different APIs I can use as well.

谢谢,结果
T恤

Thanks,
Tee

推荐答案

希望你得到排序为这个,但以防万一(并为未来的搜索)

Hopefully you got sorted for this but just in case (and for future searchers)

EchoNest 拥有会给你30秒的实API。轨previews

EchoNest has a solid api with will give you 30 sec. track previews

例如:

<一个href=\"http://developer.echonest.com/api/v4/song/search?api_key=N6E4NIOVYMTHNDM8J&format=json&results=1&artist=radiohead&title=karma%20police&bucket=id:7digital-US&bucket=audio_summary&bucket=tracks\">http://developer.echonest.com/api/v4/song/search?api_key=N6E4NIOVYMTHNDM8J&format=json&results=1&artist=radiohead&title=karma%20police&bucket=id:7digital-US&bucket=audio_summary&bucket=tracks

只是,它使用7digital所以只能曲目有目录将有previews记

Just a note that it uses 7digital so only tracks in there catalogs will have previews

这篇关于歌搜索和流preVIEW API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆