Implementation of the Last.fm API for .NET Standard 2.0 or above.
- 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.
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.