🔉 A Client for the Spotify Web API, written in C#/.NET
Go to file
Lewis-Fam 9dbd210a2f
Fixed issues #926, and #928. (#942)
* Fixed issues #926, and #928.
Added JsonConverter attributes to properties.

* Fixed complier warning CA1305
2024-02-10 11:03:22 +01:00
.github fix build: switch from hub to gh cli 2023-11-03 23:52:20 +01:00
.vscode remove test support for netcoreapp3.1 2023-05-27 21:44:58 +02:00
SpotifyAPI.Docs Update Spotify content availability checker program links (#932) 2024-01-15 10:58:23 +01:00
SpotifyAPI.Web Fixed issues #926, and #928. (#942) 2024-02-10 11:03:22 +01:00
SpotifyAPI.Web.Auth Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 (#936) 2024-01-15 11:01:48 +01:00
SpotifyAPI.Web.Examples Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer (#935) 2024-01-15 11:06:45 +01:00
SpotifyAPI.Web.Tests Bump NUnit.Console from 3.16.3 to 3.17.0 (#943) 2024-02-10 10:57:53 +01:00
.editorconfig allow var usage 2022-11-27 13:24:33 +01: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 allow var usage 2022-11-27 13:24:33 +01:00
publish.sh Added publishing to CI/CD if tag is present 2020-11-14 10:21:38 +01:00
README.md docs: fixed broken documentation links (#606) 2021-05-05 18:51:38 +02:00
SpotifyAPI.sln Added more example docs 2020-06-04 15:24:13 +02:00

SpotifyAPI-NET

SpotifyAPI-NET

Build SpotifyAPI-NET 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