Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

豆瓣 FM 官方歌词 API #132

Open
taizilongxu opened this issue Jan 21, 2015 · 3 comments
Open

豆瓣 FM 官方歌词 API #132

taizilongxu opened this issue Jan 21, 2015 · 3 comments

Comments

@taizilongxu
Copy link

  • URL: api.douban.com/v2/fm/lyric
  • Method: GET
  • Arguments:
    • udis:
    • ssid:
    • version:
    • sid:
    • client:
    • app_name:
    • apikey:
  • Response ( application/json )

获取歌词成功只需要两个参数:

  • ssid
  • sid

GET:

{
    "ssid":"694d"
    "sid":"1403047"
}

response:

{
    "lyric": "[00:21.00]It's easy if you try,\r\n[00:26.00]No hell below us,\r\n[00:33.00]Above us only sky,\r\n[00:40.00]Imagine all the people\r\n[00:45.00]living for today...\r\n[00:53.00]Imagine there's no countries,\r\n[00:59.00]It isnt hard to do,\r\n[01:05.00]Nothing to kill or die for,\r\n[01:12.00]No religion too,\r\n[01:19.00]Imagine all the people\r\n[01:24.00]living life in peace...\r\n[01:56.00]Imagine no possesions,\r\n[02:02.00]I wonder if you can,\r\n[02:09.00]No need for greed or hunger,\r\n[02:15.00]A brotherhood of man,\r\n[02:22.00]imagine all the people\r\n[02:27.00]Sharing all the world...\r\n[02:33.00][01:31.00]You may say Im a dreamer,\r\n[02:42.00][01:38.00]but Im not the only one,\r\n[02:47.00][01:44.00]I hope some day you'll join us,\r\n[02:54.00][01:51.00]And the world will live as one.\r\n[02:54.00][01:51.00]And the world will live as one.",
    "name": "Imagine",
    "sid": "1403047"
}
@guo-yu
Copy link
Owner

guo-yu commented Jan 21, 2015

这个太赞了!我马上整合进来

@polandeme
Copy link

这个接口现在好像不可以用了

@taizilongxu
Copy link
Author

@polandeme 接口正常, 只是貌似上面的ssid和sid不可用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants