Skip to content

quentingls/musicAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

musicAPI

Description:

This API gives access to music data coming from musixmatch and allows you to get word cloud for artists albums and tracks. This data are made available by the microsevice that will first fetch data from musixmatch and then build the top used word for the different resources.

Installation:

Clone the project, git clone git@github.com:quenel/musicAPI.git
Go into the musicAPI folder, cd musicAPI.
Start microserive, ./start_microservice.sh
Start api, ./start_microservice.sh

API Endpoints:

API root : http://localhost:8081/

Title : Show all artists.
URL : /artists
Method : GET
URL Params : none

Title : Show one artist by id.
URL : /artists/:id
Method : GET
URL Params : none

Title : Show one artist cloud word by artist id.
URL : /artists/:id/wordcloud
Method : GET
URL Params : Required: size=[integer]

Title : Show all albums.
URL : /albums
Method : GET
URL Params : none

Title : Show one album by id.
URL : /albums/:id
Method : GET
URL Params : Optional: expand_artist=[boolean]

Title : Show one album cloud word by album id.
URL : /albums/:id/wordcloud
Method : GET
URL Params : Required: size=[integer]

Title : Show all tracks.
URL : /tracks
Method : GET
URL Params : none

Title : Show one track by id.
URL : /tracks/:id
Method : GET
URL Params : Optional: expand_artist=[boolean] ; expand_album=[boolean]

Title : Show one track cloud word by album id.
URL : /tracks/:id/wordcloud
Method : GET
URL Params : Required: size=[integer]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •