Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.32 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.32 KB

Last.fm

Build Status NuGet Issues

Implementation of the Last.fm API for .NET Standard 2.0 or above.

Features

  • Supports all available API endpoints (album, artist, chart, geo, library, tag, track, user).
  • Supports authenticated requests.
  • Supports scrobbling.

More information about the Last.fm webservice can be found here.

Examples

To get started, create an instance of the LastfmClient class and select an API endpoint, for example to search for tracks similar to a given track:

// You need an API key to make requests to the Last.fm API.
var client = new LastfmClient(LASTFM_API_KEY);

// Find similar tracks.
var tracks = await client.Track.GetSimilarAsync(track, artist);

For more details, take a look at the Hqub.Lastfm.Client example project.