Giter Site home page Giter Site logo

wmenjoy-music / hot-comment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from goalong/hot-comment

0.0 0.0 0.0 22 KB

Go、Gin、Elasticsearch开发的云音乐歌手、歌曲、评论搜索API,线上演示地址在右边:

Home Page: http://47.99.131.182/swagger/index.html

Go 100.00%

hot-comment's Introduction

云音乐歌曲、评论搜索API

使用Go、Gin、Elasticsearch开发的一个网易云音乐歌曲、评论搜索API,可以在web上点击发请求哦,能查到数据,不过当然不是全部的数据啦。

目前的接口

  • 根据关键词搜索歌手
  • 根据歌手id获取歌曲列表
  • 根据歌曲id获取评论列表
  • 通过关键词搜索歌曲
  • 通过关键词搜索评论
  • 获取热门歌曲,按评论数排行
  • 获取热门评论,按点赞数排行

这里是swagger的web页面,可以在上面随便点击一个接口,点右边的Try it out, 然后输入参数,一般是页码和关键字,点击Execute来发请求,就可以看到接口的结果了。

最下面那张截图是获取热门评论的接口的结果,字段like_count是点赞量,可以看到排名第一的评论点赞量是一百五十多万了。

Enjoy it.

hot-comment's People

Contributors

goalong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.