{"id":34358186,"url":"https://github.com/inflatablefriends/lastfm","last_synced_at":"2026-04-04T12:57:48.896Z","repository":{"id":8860160,"uuid":"10570729","full_name":"inflatablefriends/lastfm","owner":"inflatablefriends","description":"Portable .Net library for Last.fm","archived":false,"fork":false,"pushed_at":"2023-10-05T03:46:08.000Z","size":24572,"stargazers_count":99,"open_issues_count":30,"forks_count":60,"subscribers_count":11,"default_branch":"next","last_synced_at":"2026-03-27T03:25:03.164Z","etag":null,"topics":["c-sharp","hacktoberfest","lastfm","netstandard","nuget","pcl-library","portable"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inflatablefriends.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-06-08T15:59:14.000Z","updated_at":"2025-02-20T10:57:22.000Z","dependencies_parsed_at":"2024-06-18T15:35:53.225Z","dependency_job_id":"0a0b71c3-4ac2-4985-bb20-587e171e74fd","html_url":"https://github.com/inflatablefriends/lastfm","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/inflatablefriends/lastfm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflatablefriends%2Flastfm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflatablefriends%2Flastfm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflatablefriends%2Flastfm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflatablefriends%2Flastfm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inflatablefriends","download_url":"https://codeload.github.com/inflatablefriends/lastfm/tar.gz/refs/heads/next","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflatablefriends%2Flastfm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","hacktoberfest","lastfm","netstandard","nuget","pcl-library","portable"],"created_at":"2025-12-18T03:20:21.638Z","updated_at":"2026-04-04T12:57:48.887Z","avatar_url":"https://github.com/inflatablefriends.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inflatable Last.fm .NET SDK\n\n![Project logo](./res/if-lastfm-logo-300.png)\n\n[![Code licence](https://img.shields.io/badge/licence-MIT-blue.svg?style=flat)](LICENCE.md)\n\n## Maintenence help wanted\n\nHi there! The maintainer of this library @rikkit is now mostly a TypeScript + React dev, and has been for the last several years. Since this is a .Net library, the maintainer will probably not be able to keep it up-to-date to the latest .Net standards. If you spot something wrong, please file and issue or better yet, a pull request. Thanks!\n\n## Project Goals\n\n- To provide complete .NET bindings for the Last.fm REST API\n- To build useful components for Last.fm applications\n- To be the very best, like no-one ever was\n\n## Contributing\n\nInput is always welcome! [Raise an issue on GitHub](https://github.com/inflatablefriends/lastfm/issues), or send a message to [the Gitter chatroom](https://gitter.im/inflatablefriends/lastfm) if you need help with the library. \n\nIf you're interested in contributing code or documentation, [this short introduction to the library](doc/contributing.md) will help you get started.\n\n## Quickstart\n\n### Installing\n\n#### NuGet\n\nInstall [Inflatable.Lastfm](\nhttps://www.nuget.org/packages/Inflatable.Lastfm/) from NuGet.\n\n#### NuGet - prerelease code\n\n1. Install the [.NET Core SDK](https://docs.microsoft.com/en-us/dotnet/core/install/sdk)\n2. Clone this repo and checkout to the commit you need\n3. Run `dotnet pack`\n4. Reference the built NuGet package file in your project\n\n### Examples\n\nFirst, [sign up for Last.fm API](http://last.fm/api) access if you haven't already.\n\nCreate a LastfmClient:\n\n```c#\nvar client = new LastfmClient(\"apikey\", \"apisecret\");\n```\n\nGet information about an album:\n\n```c#\nvar response = await client.Album.GetInfoAsync(\"Grimes\", \"Visions\");\n\nLastAlbum visions = response.Content;\n```\n\nFor methods that return several items, you can iterate over the response:\n\n```c#\nvar pageResponse = await client.Artist.GetTopTracksAsync(\"Ben Frost\", page: 5, itemsPerPage: 100);\n\nvar trackNames = pageResponse.Select(track =\u003e track.Name);\n```\n\nSeveral API methods require user authentication. Once you have your user's Last.fm username and password, you can authenticate your instance of LastfmClient:\n\n```c#\nvar response = await client.Auth.GetSessionTokenAsync(\"username\", \"pass\");\n\n// or load an existing session\nUserSession cachedSession;\nvar succesful = client.Auth.LoadSession(cachedSession);\n```\n\nAuthenticated methods then work like any other\n\n```c#\nif (client.Auth.HasAuthenticated) {\n\tvar response = await client.Track.LoveAsync(\"Ibi Dreams of Pavement (A Better Day)\", \"Broken Social Scene\");\n}\n```\n\n## Documentation\n\n- [Api method progress report](PROGRESS.md)\n- [Contributing](doc/contributing.md)\n- [Scrobbling](doc/scrobbling.md)\n- [Dependency Injection](doc/dependency-injection.md)\n- [Example Windows Phone app](https://github.com/inflatablefriends/lastfm-samples)\n\n## Platform Compatibility\n\nThe main package targets ```netstandard1.1```. Development is on the ```master``` branch.\n\n### Dependencies\n\n- Newtonsoft.Json 9.0.1 =\u003c\n- System.Net.Http 4.3.0 =\u003c\n\n### Supported platforms\n\nCheck [this table](https://docs.microsoft.com/en-us/dotnet/articles/standard/library#net-platforms-support) for supported platforms.\n\n### Other platforms\n\nIf you need support for a .NET platform that doesn't support .Net Standard 1.1, first see if the feature you need is available in v0.3 or earlier - that version targeted PCL profile 259, and so is compatible with e.g. Windows 8.0 and Windows Phone 7.\n\nIf you need a feature for these older platforms, please raise an issue.\n\n## Credits\n\nMaintained by [@rikkilt](http://twitter.com/rikkilt).\nThanks to [all contributors](https://github.com/inflatablefriends/lastfm/graphs/contributors)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflatablefriends%2Flastfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finflatablefriends%2Flastfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflatablefriends%2Flastfm/lists"}