<svgxmlns="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"><pathfill="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><polygonfill="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><ulclass="sidebar-links"><li><sectionclass="sidebar-group depth-0"><pclass="sidebar-heading open"><span>SpotifyAPI-NET Docs</span><!----></p><ulclass="sidebar-links sidebar-group-items"><li><ahref="/SpotifyAPI-NET/#about"class="sidebar-link">About</a></li><li><ahref="/SpotifyAPI-NET/#installing"class="sidebar-link">Installing</a></li><li><ahref="/SpotifyAPI-NET/#getting-started"class="sidebar-link">Getting Started</a></li><li><ahref="/SpotifyAPI-NET/#projects"class="sidebar-link">Projects</a></li></ul></section></li></ul></aside><mainclass="page"><divclass="theme-default-content content__default"><h1id="spotifyapi-net-docs"><ahref="#spotifyapi-net-docs"aria-hidden="true"class="header-anchor">#</a> SpotifyAPI-NET Docs</h1><h2id="about"><ahref="#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> (<ahref="https://developer.spotify.com/web-api/"target="_blank"rel="noopener noreferrer">link<svgxmlns="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"><pathfill="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><polygonfill="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><h2id="installing"><ahref="#installing"aria-hidden="true"class="header-anchor">#</a> Installing</h2><ul><li>Via NuGet Package:</li></ul><divclass="language-bash extra-class"><preclass="language-bash"><code>Install-Package SpotifyAPI.Web
</code></pre></div><ul><li>Download the latest binaries on the <ahref="https://github.com/JohnnyCrazy/SpotifyAPI-NET/releases"target="_blank"rel="noopener noreferrer">GitHub Release Page<svgxmlns="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"><pathfill="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><polygonfill="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><h2id="getting-started"><ahref="#getting-started"aria-hidden="true"class="header-anchor">#</a> Getting Started</h2><ul><li><ahref="/SpotifyAPI-NET/web/getting_started/">SpotifyAPI.Web</a></li><li><ahref="/SpotifyAPI-NET/auth/getting_started/">SpotifyAPI.Web.Auth</a></li></ul><h2id="projects"><ahref="#projects"aria-hidden="true"class="header-anchor">#</a> Projects</h2><h3id="lidarr-by-lidarr"><ahref="#lidarr-by-lidarr"aria-hidden="true"class="header-anchor">#</a><ahref="https://github.com/lidarr/Lidarr"target="_blank"rel="noopener noreferrer">lidarr<svgxmlns="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"><pathfill="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><polygonfill="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 <ahref="https://github.com/lidarr"target="_blank"rel="noopener noreferrer">@lidarr<svgxmlns="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"><pathfill="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><polygonfill="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>Looks and smells like Sonarr but made for music.</p></blockquote><h3id="botframework-solutions-by-microsoft"><ahref="#botframework-solutions-by-microsoft"aria-hidden="true"class="header-anchor">#</a><ahref="https://github.com/microsoft/botframework-solutions"target="_blank"rel="noopener noreferrer">botframework-solutions<svgxmlns="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"><pathfill="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><polygonfill="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 <ahref="https://github.com/microsoft"target="_blank"rel="noopener noreferrer">@microsoft<svgxmlns="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"><pathfill="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><polygonfill="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>home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework</p></blockquote><h3id="spytify-by-jwallet"><ahref="#spytify-by-jwallet"aria-hidden="true"class="header-anchor">#</a><ahref="https://github.com/jwallet/spy-spotify"target="_blank"rel="noopener noreferrer">Spytify<svgxmlns="http://www.w3.org/2000/svg"aria-hidden="true"x="0px"y="0px"viewBox="00100100