Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JohnnyCrazy/SpotifyAPI-NET
:sound: A Client for the Spotify Web API, written in C#/.NET
https://github.com/JohnnyCrazy/SpotifyAPI-NET
c-sharp csharp dotnet dotnet-core music spotify spotify-api spotify-sdk spotify-web spotify-web-api spotifyapi spotifyapi-net
Last synced: 4 days ago
JSON representation
:sound: A Client for the Spotify Web API, written in C#/.NET
- Host: GitHub
- URL: https://github.com/JohnnyCrazy/SpotifyAPI-NET
- Owner: JohnnyCrazy
- License: mit
- Created: 2014-01-28T20:01:07.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T11:39:46.000Z (16 days ago)
- Last Synced: 2024-10-29T15:34:26.506Z (11 days ago)
- Topics: c-sharp, csharp, dotnet, dotnet-core, music, spotify, spotify-api, spotify-sdk, spotify-web, spotify-web-api, spotifyapi, spotifyapi-net
- Language: C#
- Homepage: http://johnnycrazy.github.io/SpotifyAPI-NET/
- Size: 35.3 MB
- Stars: 1,505
- Watchers: 54
- Forks: 308
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
SpotifyAPI-NET
![Build SpotifyAPI-NET](https://github.com/JohnnyCrazy/SpotifyAPI-NET/workflows/Build/Test/Release%20SpotifyAPI-NET/badge.svg)
[![License](https://img.shields.io/github/license/JohnnyCrazy/SpotifyAPI-NET?style=flat-square)](./LICENSE)
[![SpotifyAPI.Web NuGET](https://img.shields.io/nuget/vpre/SpotifyAPI.Web?label=SpotifyAPI.Web&style=flat-square)](https://www.nuget.org/packages/SpotifyAPI.Web/)
[![SpotifyAPI.Web.Auth NuGET](https://img.shields.io/nuget/vpre/SpotifyAPI.Web.Auth?label=SpotifyAPI.Web.Auth&style=flat-square)](https://www.nuget.org/packages/SpotifyAPI.Web.Auth/)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
```csharp
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](https://johnnycrazy.github.io/SpotifyAPI-NET/docs/introduction) 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/](http://johnnycrazy.github.io/SpotifyAPI-NET/)
### Installation
Installation Instructions can be found in the [Getting Started Guide](https://johnnycrazy.github.io/SpotifyAPI-NET/docs/getting_started)
### 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](./donate.svg)](https://paypal.me/JohnnyCrazy)