<titledata-rh="true">SpotifyAPI-NET | SpotifyAPI-NET</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/home"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="5.1.1"><metadata-rh="true"name="docusaurus_tag"content="docs-default-5.1.1"><metadata-rh="true"name="docsearch:version"content="5.1.1"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-5.1.1"><metadata-rh="true"property="og:title"content="SpotifyAPI-NET | SpotifyAPI-NET"><metadata-rh="true"name="description"content="This project, written in C#/.NET, provides 2 libraries for an easier usage of the Spotify Web API"><metadata-rh="true"property="og:description"content="This project, written in C#/.NET, provides 2 libraries for an easier usage of the Spotify Web API"><linkdata-rh="true"rel="icon"href="/SpotifyAPI-NET/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/home"><linkdata-rh="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/home"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/home"hreflang="x-default"><linkrel="stylesheet"href="/SpotifyAPI-NET/assets/css/styles.c5268834.css">
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><h2class="anchor anchorWithStickyNavbar_LWe7"id="installing">Installing<aclass="hash-link"href="#installing"title="Direct link to heading"></a></h2><ul><li>Via NuGet Package:</li></ul><divclass="language-bash codeBlockContainer_Ckt0 theme-code-block"style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><divclass="codeBlockContent_biex"><pretabindex="0"class="prism-code language-bash codeBlock_bY9V thin-scrollbar"><codeclass="codeBlockLines_e6Vv"><spanclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Install-Package SpotifyAPI.Web -Version </span><spanclass="token number"style="color:rgb(247, 140, 108)">5.1</span><spanclass="token plain">.1</span><br></span><spanclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Install-Package SpotifyAPI.Web.Auth -Version </span><spanclass="token number"style="color:rgb(247, 140, 108)">5.1</span><spanclass="token plain">.1</span><br></span></code></pre><divclass="buttonGroup__atx"><buttontype="button"aria-label="Copy code to clipboard"title="Copy"class="clean-btn"><spanclass="copyButtonIcons_eSgA"aria-hidden="true"><svgclass="copyButtonIcon_y97N"viewBox="0 0 24 24"><pathd="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svgclass="copyButtonSuccessIcon_LjdS"viewBox="0 0 24 24"><pathd="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></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</a> and add it to your Project</li><li>Clone the Repo and build the project yourself.</li></ul><hr><h2class="anchor anchorWithStickyNavbar_LWe7"id="getting-started">Getting Started<aclass="hash-link"href="#getting-started"title="Direct link to heading"></a></h2><ul><li><ahref="/SpotifyAPI-NET/docs/5.1.1/web/getting_started">SpotifyAPI.Web</a></li><li><ahref="/SpotifyAPI-NET/docs/5.1.1/auth/getting_started">SpotifyAPI.Web.Auth</a></li></ul><h2class="anchor anchorWithStickyNavbar_LWe7"id="projects">Projects<aclass="hash-link"href="#projects"title="Direct link to heading"></a></h2><h3class="anchor anchorWithStickyNavbar_LWe7"id="lidarr-by-lidarr"><ahref="https://github.com/lidarr/Lidarr"target="_blank"rel="noopener noreferrer">lidarr</a> by <ahref="https://github.com/lidarr"target="_blank"rel="noopener noreferrer">@lidarr</a><aclass="hash-link"href="#lidarr-by-lidarr"title="Direct link to heading"></a></h3><blockquote><p>Looks and smells like Sonarr but made for music.</p></blockquote><h3class="anchor anchorWithStickyNavbar_LWe7"id="botframework-solutions-by-microsoft"><ahref="https://github.com/microsoft/botframework-solutions"target="_blank"rel="noopener noreferrer">botframework-solutions</a> by <ahref="https://github.com/microsoft"target="_blank"rel="noopener noreferrer">@microsoft</a><aclass="hash-link"href="#botframework-solutions-by-microsoft"title="Direct link to heading"></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><h3class="anchor anchorWithStickyNavbar_LWe7"id="spytify-by-jwallet"><ahref="https://github.com/jwallet/s