🔉 A Client for the Spotify Web API, written in C#/.NET
Go to file
dependabot-preview[bot] 62f701e06c Bump NUnit3TestAdapter from 3.14.0 to 3.15.0 (#375)
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.14...V3.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 22:17:31 +02:00
SpotifyAPI.Docs Wrong username 2019-08-17 00:46:38 +02:00
SpotifyAPI.Web Added TotalTracks property to SimpleAlbum and FullAlbum (#367) 2019-08-04 14:09:09 +02:00
SpotifyAPI.Web.Auth Fix missing proxy config in ExchangeCode method (#363) 2019-07-30 18:54:02 +02:00
SpotifyAPI.Web.Example Switched docs from mkdocs to vuepress 2019-08-17 00:40:16 +02:00
SpotifyAPI.Web.Tests Bump NUnit3TestAdapter from 3.14.0 to 3.15.0 (#375) 2019-08-27 22:17:31 +02:00
.gitattributes Initialisieren Sie das Commit, um ".gitIgnore"- und ".gitAttribute"-Standarddateien hinzuzufügen. 2014-01-07 16:25:32 +01:00
.gitignore Added vscode to gitignore 2019-05-20 15:53:29 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-21 21:09:39 +02:00
donate.svg Added donation link 2018-03-26 01:13:14 +02:00
LICENSE Initial commit 2014-01-28 12:01:07 -08:00
publish.cmd Use dotnet pack and update versions accordingly 2019-07-17 17:26:35 +02:00
README.md Update README.md 2019-01-10 01:06:35 +01:00
SpotifyAPI.sln Updated to .NET Core and reimplemented auth strategies 2018-08-24 14:10:13 +02:00

SpotifyAPI-NET

Build status Gitter

A Wrapper for Spotify's Web API, written in .NET

Spotify's Web API (link)

Based on simple REST principles, our Web API endpoints return metadata in JSON format about artists, albums, and tracks directly from the Spotify catalogue. The API also provides access to user-related data such as playlists and music saved in a “Your Music” library, subject to users authorization.

SpotifyAPI.Web Nuget SpotifyAPI.Web

A wrapper around Spotify's Web API, providing sync and async methods to query all possible endpoints. Results are returned as typed class instances, allowing property-based access.

SpotifyAPI.Web.Auth Nuget SpotifyAPI.Web.Auth

A library providing C# implementations of the 3 supported Authentication modes, including ImplicitGrantAuth, AuthorizationCodeAuth and CredentialsAuth

Docs and Usage

More Information, Installation-Instructions, Examples and API-Reference can be found at github.io/SpotifyAPI-Net/

NuGet

You can add the API to your project via nuget-package:

Install-Package SpotifyAPI.Web
Install-Package SpotifyAPI.Web.Auth

//or

Install-Package SpotifyAPI.Web -pre
Install-Package SpotifyAPI.Web.Auth -pre

Example

using SpotifyAPI.Web.Enums;
using SpotifyAPI.Web.Models;

public static async void Example()
{
  SpotifyWebAPI api = new SpotifyWebAPI
  {
      AccessToken = "XX?X?X",
      TokenType = "Bearer"
  };
  
  PrivateProfile profile = await api.GetPrivateProfileAsync();
  if(!profile.HasError()) {
    Console.WriteLine(profile.DisplayName);
  }
}

Donations

If you want to support this project or my work in general, you can donate a buck or two via the link below. However, this will be always optional!

Donate Link