2017-10-27 16:37:28 +01:00
<!DOCTYPE html>
2019-08-16 23:41:36 +01:00
< html lang = "en-US" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
< title > SpotifyAPI-NET Docs | SpotifyAPI-NET< / title >
< meta name = "description" content = ":sound: An API for the Spotify-Client and the Spotify Web API, written in C#/.NET" >
2017-10-27 16:37:28 +01:00
2019-08-16 23:41:36 +01:00
< link rel = "preload" href = "/assets/css/0.styles.a0ada997.css" as = "style" > < link rel = "preload" href = "/assets/js/app.cc44386d.js" as = "script" > < link rel = "preload" href = "/assets/js/2.db6f1a12.js" as = "script" > < link rel = "preload" href = "/assets/js/5.dfb9460f.js" as = "script" > < link rel = "prefetch" href = "/assets/js/10.29899bd4.js" > < link rel = "prefetch" href = "/assets/js/11.0f6f8c29.js" > < link rel = "prefetch" href = "/assets/js/12.2978ac7c.js" > < link rel = "prefetch" href = "/assets/js/13.bf7ffcb9.js" > < link rel = "prefetch" href = "/assets/js/14.76e71857.js" > < link rel = "prefetch" href = "/assets/js/15.a0fc535e.js" > < link rel = "prefetch" href = "/assets/js/16.427ccfec.js" > < link rel = "prefetch" href = "/assets/js/17.a281444b.js" > < link rel = "prefetch" href = "/assets/js/18.1f840ba3.js" > < link rel = "prefetch" href = "/assets/js/19.c6343cc0.js" > < link rel = "prefetch" href = "/assets/js/20.f7f0836a.js" > < link rel = "prefetch" href = "/assets/js/21.700cbb77.js" > < link rel = "prefetch" href = "/assets/js/22.312dbfd1.js" > < link rel = "prefetch" href = "/assets/js/23.d5043e4d.js" > < link rel = "prefetch" href = "/assets/js/24.07659c28.js" > < link rel = "prefetch" href = "/assets/js/25.81029a65.js" > < link rel = "prefetch" href = "/assets/js/26.3876e2f9.js" > < link rel = "prefetch" href = "/assets/js/3.e41cd288.js" > < link rel = "prefetch" href = "/assets/js/4.d34ebd53.js" > < link rel = "prefetch" href = "/assets/js/6.06a21323.js" > < link rel = "prefetch" href = "/assets/js/7.6ce7959d.js" > < link rel = "prefetch" href = "/assets/js/8.26b7beaf.js" > < link rel = "prefetch" href = "/assets/js/9.2255e63f.js" >
< link rel = "stylesheet" href = "/assets/css/0.styles.a0ada997.css" >
< / head >
< body >
< div id = "app" data-server-rendered = "true" > < div class = "theme-container" > < header class = "navbar" > < div class = "sidebar-button" > < svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" role = "img" viewBox = "0 0 448 512" class = "icon" > < path fill = "currentColor" d = "M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" > < / path > < / svg > < / div > < a href = "/" class = "home-link router-link-exact-active router-link-active" > <!-- --> < span class = "site-name" > SpotifyAPI-NET< / span > < / a > < div class = "links" > < div class = "search-box" > < input aria-label = "Search" autocomplete = "off" spellcheck = "false" value = "" > <!-- --> < / div > < nav class = "nav-links can-hide" > < div class = "nav-item" > < a href = "/" class = "nav-link router-link-exact-active router-link-active" > Home< / a > < / div > < div class = "nav-item" > < div class = "dropdown-wrapper" > < a class = "dropdown-title" > < span class = "title" > SpotifyAPI.Web< / span > < span class = "arrow right" > < / span > < / a > < ul class = "nav-dropdown" style = "display:none;" > < li class = "dropdown-item" > <!-- --> < a href = "/web/getting_started.html" class = "nav-link" > Getting Started< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/examples.html" class = "nav-link" > Examples< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/proxy.html" class = "nav-link" > Proxy< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/albums.html" class = "nav-link" > - Albums< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/artists.html" class = "nav-link" > - Artists< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/browse.html" class = "nav-link" > - Browse< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/follow.html" class = "nav-link" > - Follow< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/library.html" class = "nav-link" > - Library< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/personalization.html" class = "nav-link" > - Personalization< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/player.html" class = "nav-link" > - Player< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/playlists.html" class = "nav-link" > - Playlists< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/profiles.html" class = "nav-link" > - Profiles< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/search.html" class = "nav-link" > - Search< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/tracks.html" class = "nav-link" > - Tracks< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/utils.html" class = "nav-link" > Utilities< / a > < / li > < / ul > < / div > < / div > < div class = "nav-item" > < div class = "dropdown-wrapper" > < a class = "dropdown-title" > < span class = "title" > SpotifyAPI.Auth< / span > < span class = "arrow right" > < / span > < / a > < ul class = "nav-dropdown" style = "display:none;" > < li class = "dropdown-item" > <!-- --> < a href = "/auth/getting_started.html" class = "nav-link" > Getting Started< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/implicit_grant.html" class = "nav-link" > - ImplicitGrantAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/token_swap.html" class = "nav-link" > - TokenSwapAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/authorization_code.html" class = "nav-link" > - AutorizationCodeAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/client_credentials.html" class = "nav-link" > - ClientCredentialsAuth< / a > < / li > < / ul > < / div > < / div > < a href = "https://github.com/JohnnyCrazy/SpotifyAPI-NET" target = "_blank" rel = "noopener noreferrer" class = "repo-link" >
🚀 GitHub
< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / nav > < / div > < / header > < div class = "sidebar-mask" > < / div > < aside class = "sidebar" > < nav class = "nav-links" > < div class = "nav-item" > < a href = "/" class = "nav-link router-link-exact-active router-link-active" > Home< / a > < / div > < div class = "nav-item" > < div class = "dropdown-wrapper" > < a class = "dropdown-title" > < span class = "title" > SpotifyAPI.Web< / span > < span class = "arrow right" > < / span > < / a > < ul class = "nav-dropdown" style = "display:none;" > < li class = "dropdown-item" > <!-- --> < a href = "/web/getting_started.html" class = "nav-link" > Getting Started< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/examples.html" class = "nav-link" > Examples< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/proxy.html" class = "nav-link" > Proxy< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/albums.html" class = "nav-link" > - Albums< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/artists.html" class = "nav-link" > - Artists< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/browse.html" class = "nav-link" > - Browse< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/follow.html" class = "nav-link" > - Follow< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/library.html" class = "nav-link" > - Library< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/personalization.html" class = "nav-link" > - Personalization< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/player.html" class = "nav-link" > - Player< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/playlists.html" class = "nav-link" > - Playlists< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/profiles.html" class = "nav-link" > - Profiles< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/search.html" class = "nav-link" > - Search< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/tracks.html" class = "nav-link" > - Tracks< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/web/utils.html" class = "nav-link" > Utilities< / a > < / li > < / ul > < / div > < / div > < div class = "nav-item" > < div class = "dropdown-wrapper" > < a class = "dropdown-title" > < span class = "title" > SpotifyAPI.Auth< / span > < span class = "arrow right" > < / span > < / a > < ul class = "nav-dropdown" style = "display:none;" > < li class = "dropdown-item" > <!-- --> < a href = "/auth/getting_started.html" class = "nav-link" > Getting Started< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/implicit_grant.html" class = "nav-link" > - ImplicitGrantAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/token_swap.html" class = "nav-link" > - TokenSwapAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/authorization_code.html" class = "nav-link" > - AutorizationCodeAuth< / a > < / li > < li class = "dropdown-item" > <!-- --> < a href = "/auth/client_credentials.html" class = "nav-link" > - ClientCredentialsAuth< / a > < / li > < / ul > < / div > < / div > < a href = "https://github.com/JohnnyCrazy/SpotifyAPI-NET" target = "_blank" rel = "noopener noreferrer" class = "repo-link" >
🚀 GitHub
< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / nav > < ul class = "sidebar-links" > < li > < section class = "sidebar-group depth-0" > < p class = "sidebar-heading open" > < span > SpotifyAPI-NET Docs< / span > <!-- --> < / p > < ul class = "sidebar-links sidebar-group-items" > < li > < a href = "/#about" class = "sidebar-link" > About< / a > < / li > < li > < a href = "/#installing" class = "sidebar-link" > Installing< / a > < / li > < li > < a href = "/#getting-started" class = "sidebar-link" > Getting Started< / a > < / li > < li > < a href = "/#projects" class = "sidebar-link" > Projects< / a > < / li > < / ul > < / section > < / li > < / ul > < / aside > < main class = "page" > < div class = "theme-default-content content__default" > < h1 id = "spotifyapi-net-docs" > < a href = "#spotifyapi-net-docs" aria-hidden = "true" class = "header-anchor" > #< / a > SpotifyAPI-NET Docs< / h1 > < h2 id = "about" > < a href = "#about" aria-hidden = "true" class = "header-anchor" > #< / a > About< / h2 > < p > This project, written in C#/.NET, provides 2 libraries for an easier usage of the Spotify Web API< / p > < p > < strong > Spotify's Web API< / strong > (< a href = "https://developer.spotify.com/web-api/" target = "_blank" rel = "noopener noreferrer" > link< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > )< / p > < blockquote > < p > 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 user’ s authorization.< / p > < / blockquote > < p > < strong > SpotifyAPI.Web< / strong > < / p > < blockquote > < p > 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.< / p > < / blockquote > < p > < strong > SpotifyAPI.Web.Auth< / strong > < / p > < blockquote > < p > A library providing C# implementations of the 3 supported Authentication modes, including < code > ImplicitGrantAuth< / code > , < code > AuthorizationCodeAuth< / code > and < code > CredentialsAuth< / code > < / p > < / blockquote > < hr > < h2 id = "installing" > < a href = "#installing" aria-hidden = "true" class = "header-anchor" > #< / a > Installing< / h2 > < ul > < li > Via NuGet Package:< / li > < / ul > < div class = "language-bash extra-class" > < pre class = "language-bash" > < code > Install-Package SpotifyAPI.Web
2018-12-22 20:16:42 +00:00
Install-Package SpotifyAPI.Web.Auth
2019-08-16 23:41:36 +01:00
< / code > < / pre > < / div > < ul > < li > Download the latest binaries on the < a href = "https://github.com/JohnnyCrazy/SpotifyAPI-NET/releases" target = "_blank" rel = "noopener noreferrer" > GitHub Release Page< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > and add it to your Project< / li > < li > Clone the Repo and build the project yourself.< / li > < / ul > < hr > < h2 id = "getting-started" > < a href = "#getting-started" aria-hidden = "true" class = "header-anchor" > #< / a > Getting Started< / h2 > < ul > < li > < a href = "/web/getting_started/" > SpotifyAPI.Web< / a > < / li > < li > < a href = "/auth/getting_started/" > SpotifyAPI.Web.Auth< / a > < / li > < / ul > < h2 id = "projects" > < a href = "#projects" aria-hidden = "true" class = "header-anchor" > #< / a > Projects< / h2 > < h3 id = "audio-band-by-dsafa" > < a href = "#audio-band-by-dsafa" aria-hidden = "true" class = "header-anchor" > #< / a > < a href = "https://github.com/dsafa/audio-band" target = "_blank" rel = "noopener noreferrer" > audio-band< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > by < a href = "https://github.com/dsafa" target = "_blank" rel = "noopener noreferrer" > @dsafa< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / h3 > < blockquote > < p > Display and control songs from the Windows taskbar< / p > < / blockquote > < h3 id = "rocksmith-custom-song-toolkit-by-dsafa" > < a href = "#rocksmith-custom-song-toolkit-by-dsafa" aria-hidden = "true" class = "header-anchor" > #< / a > < a href = "https://github.com/catara/rocksmith-custom-song-toolkit" target = "_blank" rel = "noopener noreferrer" > rocksmith-custom-song-toolkit< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > by < a href = "https://github.com/catara" target = "_blank" rel = "noopener noreferrer" > @dsafa< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / h3 > < blockquote > < p > MASS Manipulation of Rocksmith DLC Library< / p > < / blockquote > < h3 id = "spofy-by-eltoncezar" > < a href = "#spofy-by-eltoncezar" aria-hidden = "true" class = "header-anchor" > #< / a > < a href = "https://github.com/eltoncezar/Spofy" target = "_blank" rel = "noopener noreferrer" > Spofy< svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewBox = "0 0 100 100" width = "15" height = "15" class = "icon outbound" > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4
< script src = "/assets/js/app.cc44386d.js" defer > < / script > < script src = "/assets/js/2.db6f1a12.js" defer > < / script > < script src = "/assets/js/5.dfb9460f.js" defer > < / script >
< / body >
< / html >