All Projects → inflatablefriends → lastfm

inflatablefriends / lastfm

Licence: other
Portable .Net library for Last.fm

Programming Languages

C#
18002 projects
powershell
5483 projects

Projects that are alternatives of or similar to lastfm

Ether.network
https://github.com/Eastrall/Sylver
Stars: ✭ 147 (+68.97%)
Mutual labels:  nuget, netstandard
Bingmapsresttoolkit
This is a portable class library which makes it easy to access the Bing Maps REST services from .NET.
Stars: ✭ 136 (+56.32%)
Mutual labels:  portable, nuget
Megaapiclient
MegaApiClient is a C# .Net library to access http://mega.co.nz / http://mega.nz cloud storage and file hosting service.
Stars: ✭ 151 (+73.56%)
Mutual labels:  nuget, netstandard
Colore
A powerful C# library for Razer Chroma's SDK
Stars: ✭ 121 (+39.08%)
Mutual labels:  nuget, netstandard
REstate
Portable state-flows (state-machine based workflows)
Stars: ✭ 35 (-59.77%)
Mutual labels:  nuget, netstandard
Zipstorer
A Pure C# Class to Store Files in Zip
Stars: ✭ 139 (+59.77%)
Mutual labels:  nuget, netstandard
Kbcsv
KBCsv is an efficient, easy to use .NET parsing and writing library for the CSV (comma-separated values) format.
Stars: ✭ 75 (-13.79%)
Mutual labels:  portable, netstandard
Vs Threading
The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
Stars: ✭ 585 (+572.41%)
Mutual labels:  nuget, netstandard
KuttSharp
🔪 .NET Package for kutt.it url shortener
Stars: ✭ 29 (-66.67%)
Mutual labels:  nuget, netstandard
IGeekFan.AspNetCore.Knife4jUI
support .NET Core3.0+,.NET Standard2.0 Swagger UI knife4j ui,you can use NSwagger or Swashbuckle.AspNetCore in packages
Stars: ✭ 178 (+104.6%)
Mutual labels:  nuget, netstandard
Vs Validation
Common input and integrity validation routines for Visual Studio and other applications
Stars: ✭ 48 (-44.83%)
Mutual labels:  nuget, netstandard
BingMapsSDSToolkit
This toolkit makes it easy to use the Bing Maps Spatial Data Services (SDS) in .NET
Stars: ✭ 39 (-55.17%)
Mutual labels:  portable, nuget
Computesharp
A .NET 5 library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Stars: ✭ 982 (+1028.74%)
Mutual labels:  nuget, netstandard
Eventflow
Async/await first CQRS+ES and DDD framework for .NET
Stars: ✭ 1,932 (+2120.69%)
Mutual labels:  nuget, netstandard
Xamarinmediamanager
Cross platform Xamarin plugin to play and control Audio and Video
Stars: ✭ 647 (+643.68%)
Mutual labels:  nuget, netstandard
Fo Dicom
Fellow Oak DICOM for .NET, .NET Core, Universal Windows, Android, iOS, Mono and Unity
Stars: ✭ 674 (+674.71%)
Mutual labels:  portable, nuget
Vortice.windows
.NET standard bindings for DirectX, WIC, Direct2D1, XInput, XAudio and X3DAudio
Stars: ✭ 427 (+390.8%)
Mutual labels:  nuget, netstandard
Opengl.net
Modern OpenGL bindings for C#.
Stars: ✭ 473 (+443.68%)
Mutual labels:  nuget, netstandard
dark-sky-core
A .NET Standard Library for using the Dark Sky API.
Stars: ✭ 55 (-36.78%)
Mutual labels:  nuget, netstandard
Portable-WebDAV-Library
Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETS…
Stars: ✭ 45 (-48.28%)
Mutual labels:  portable, netstandard

Inflatable Last.fm .NET SDK

Project logo

Code licence

Maintenence help wanted

Hi 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!

Project Goals

  • To provide complete .NET bindings for the Last.fm REST API
  • To build useful components for Last.fm applications
  • To be the very best, like no-one ever was

Contributing

Input is always welcome! Raise an issue on GitHub, or send a message to the Gitter chatroom if you need help with the library.

If you're interested in contributing code or documentation, this short introduction to the library will help you get started.

Quickstart

Installing

NuGet

Install Inflatable.Lastfm from NuGet.

NuGet - prerelease code

  1. Install the .NET Core SDK
  2. Clone this repo and checkout to the commit you need
  3. Run dotnet pack
  4. Reference the built NuGet package file in your project

Examples

First, sign up for Last.fm API access if you haven't already.

Create a LastfmClient:

var client = new LastfmClient("apikey", "apisecret");

Get information about an album:

var response = await client.Album.GetInfoAsync("Grimes", "Visions");

LastAlbum visions = response.Content;

For methods that return several items, you can iterate over the response:

var pageResponse = await client.Artist.GetTopTracksAsync("Ben Frost", page: 5, itemsPerPage: 100);

var trackNames = pageResponse.Select(track => track.Name);

Several API methods require user authentication. Once you have your user's Last.fm username and password, you can authenticate your instance of LastfmClient:

var response = await client.Auth.GetSessionTokenAsync("username", "pass");

// or load an existing session
UserSession cachedSession;
var succesful = client.Auth.LoadSession(cachedSession);

Authenticated methods then work like any other

if (client.Auth.HasAuthenticated) {
	var response = await client.Track.LoveAsync("Ibi Dreams of Pavement (A Better Day)", "Broken Social Scene");
}

Documentation

Platform Compatibility

The main package targets netstandard1.1. Development is on the master branch.

Dependencies

  • Newtonsoft.Json 9.0.1 =<
  • System.Net.Http 4.3.0 =<

Supported platforms

Check this table for supported platforms.

Other platforms

If 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.

If you need a feature for these older platforms, please raise an issue.

Credits

Maintained by @rikkilt. Thanks to all contributors!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].