🔉 A Client for the Spotify Web API, written in C#/.NET
Go to file
Tim Ittermann a9c4aba7fa
Add interfaces for tokens (#499)
* Add interfaces for tokens

* Delete UpgradeLog.htm

* Changed Namespace

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2020-08-26 15:38:00 +02:00
.vscode Fixed links in docs 2020-06-05 19:31:08 +02:00
SpotifyAPI.Docs Type in client credentials docs (#498) 2020-08-24 11:29:13 +02:00
SpotifyAPI.Web Add interfaces for tokens (#499) 2020-08-26 15:38:00 +02:00
SpotifyAPI.Web.Auth Setup projects for nuget publishing 2020-06-04 20:29:33 +02:00
SpotifyAPI.Web.Examples Merge branch 'pkce' into master 2020-08-19 14:12:49 +02:00
SpotifyAPI.Web.Tests Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 (#497) 2020-08-24 18:43:08 +02:00
.editorconfig Added better Pagination support via IAsyncEnumerable 2020-05-20 20:59:11 +02:00
.gitattributes Initialisieren Sie das Commit, um ".gitIgnore"- und ".gitAttribute"-Standarddateien hinzuzufügen. 2014-01-07 16:25:32 +01:00
.gitignore Ignore launch settings 2020-05-16 22:33:05 +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 Since we did a rewrite: Change license to MIT :party: #451 2020-05-30 23:33:53 +02:00
omnisharp.json Started with Unit Tests and added .editorconfig for syntax settings 2020-05-02 13:04:26 +02:00
publish.sh Fixed warnings and polished publish script 2020-06-04 20:56:47 +02:00
README.md Prepare beta.7 and some README fixes 2020-06-29 23:04:03 +02:00
SpotifyAPI.sln Added more example docs 2020-06-04 15:24:13 +02:00

SpotifyAPI-NET

SpotifyAPI-NET

This README targets Version >= 6.X, which is currently in beta status. For the documentation of version 5.1.1, visit the docs

Build status License SpotifyAPI.Web NuGET SpotifyAPI.Web.Auth NuGET

This open source library for the Spotify Web API provides an easy to use interface for .NET based languages, like C# and VisualBasic .NET. By using it you can query general spotify catalog information (tracks, albums and playlists), manage user-related content ("My Library", create and edit playlists) and control the users music players (play, stop, transfer playback, play specific track).

Features

  • Typed responses and requests to over 74 endpoints. Complete and always up to date.
  • Supports .NET Standard 2.X, which includes all major platforms, including mobile:
    • .NET Framework
    • UWP
    • .NET Core
    • Xamarin.Forms
  • Included HTTPClient, but feel free to bring your own!
  • Logging supported
  • Retry Handlers supported
  • Proxy support
  • Pagination support
  • All OAuth2 Authentications supported for use in ASP .NET and CLI apps
  • Modular structure, for easy unit testing

Example

using System;
using SpotifyAPI.Web;

class Program
{
    static async Task Main()
    {
      var spotify = new SpotifyClient("YourAccessToken");

      var track = await spotify.Tracks.Get("1s6ux0lNiTziSrd7iUAADH");
      Console.WriteLine(track.Name);
    }
}

More examples can be found on the website and in the SpotifyAPI.Web.Examples directory.

Docs and Usage

More Information, Installation-Instructions, Examples, Guides can be found at johnnycrazy.github.io/SpotifyAPI-NET/

Installation

Installation Instructions can be found in the Getting Started Guide

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