Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.29 KB

README.md

File metadata and controls

55 lines (42 loc) · 1.29 KB

lastfm-api

A simple API to get information from Last.fm API.

Installation

git clone https://github.com/marcoriosp/lastfm-api.git

cd lastfm-api

npm install

Artist Example request

http://localhost:3300/artistSearch?artist=lenka
http://localhost:3300/artistInfo?artist=lenka
http://localhost:3300/artistSimilar?artist=lenka
http://localhost:3300/artistTopTags?artist=lenka
http://localhost:3300/artistTopTracks?artist=lenka
http://localhost:3300/artistTopAlbums?artist=lenka

Album Example request

http://localhost:3300/albumSearch?album=lenka
http://localhost:3300/albumInfo?artist=lenka&album=attune
http://localhost:3300/albumTopTags?artist=lenka&album=attune

Track Example request

http://localhost:3300/trackSearch?track=the%20show
http://localhost:3300/trackInfo?artist=lenka&track=the%20show
http://localhost:3300/trackSimilar?artist=lenka&track=the%20show
http://localhost:3300/trackTopTags?artist=lenka&track=the%20show

Charts Example request

http://localhost:3300/chartsTopArtists
http://localhost:3300/chartsTopTags
http://localhost:3300/chartsTopTracks

Geo Top Example request

http://localhost:3300/geoTopArtists?country=chile
http://localhost:3300/geoTopTracks?country=chile

More info https://www.last.fm/api