mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
Portable .Net library for Last.fm
c8612f8510
sometimes they don't come with duration. so parse as string, which can be null, and then if is not null we try to parse it as a double |
||
---|---|---|
.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