Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🔉 A Client for the Spotify Web API, written in C#/.NET

License

NotificationsYou must be signed in to change notification settings

JohnnyCrazy/SpotifyAPI-NET

Repository files navigation

Build SpotifyAPI-NETLicenseSpotifyAPI.Web NuGETSpotifyAPI.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
  • ✅ IncludedHTTPClient, but feel free to bring your own!
  • ✅ Logging supported
  • ✅ Retry Handlers supported
  • ✅ Proxy support
  • ✅ Pagination support
  • ✅ All OAuth2 Authentications supported for use inASP .NETandCLI apps
  • ✅ Modular structure, for easy unit testing

Example

usingSystem;usingSpotifyAPI.Web;classProgram{staticasyncTaskMain(){varspotify=newSpotifyClient("YourAccessToken");vartrack=awaitspotify.Tracks.Get("1s6ux0lNiTziSrd7iUAADH");Console.WriteLine(track.Name);}}

More examples can be found onthe website and in theSpotifyAPI.Web.Examples directory.

Docs and Usage

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

Installation

Installation Instructions can be found in theGetting 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


[8]ページ先頭

©2009-2025 Movatter.jp