mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
Portable .Net library for Last.fm
0b48051ce9
Last.fm returns an object instead of an array when it will return only one object. Had to resolve to some trickery behind the scenes to make it work... |
||
---|---|---|
.nuget | ||
lib | ||
src | ||
.gitattributes | ||
.gitignore | ||
IF.Lastfm.sln | ||
IF.Lastfm.sln.DotSettings | ||
LICENCE.md | ||
README.md |
#Last.fm Portable .NET API
MIT licensed. Maintained by @rikkilt.
Feature request? Bug? Raise a new issue on GitHub.
Wanna help? Check out the open issues.
Quickstart
var auth = new Auth("apikey", "apisecret");
var response = await auth.GetSessionTokenAsync("username", "pass");
if (response.Success && auth.HasAuthenticated) {
var albumApi = new AlbumApi(auth);
var visions = await albumApi.GetAlbumInfoAsync("Grimes", "Visions");
}
Check out the GitHub wiki for more documentation