(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{109:function(e,t,a){"use strict";a.r(t);var n=a(3),l=a(130),r=a(126),i=a(16),c=a(133),o=a(141),s=(a(139),a(140),a(173)),m=a.n(s),u=a(0),d=a.n(u),g=a(174),p=a(143),f=a(110),h=a.n(f),E=[{title:d.a.createElement(d.a.Fragment,null,"Sane Defaults - Easy To Configure"),imageUrl:"img/undraw_preferences_uuo2.svg",description:function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement("code",null,"SpotifyAPI-NET")," allows you to quickly integrate with Spotify's Web API by supplying sane configuration defaults from the start. Later on, behaviour can be customized using extensive configuration possibilities.")}},{title:d.a.createElement(d.a.Fragment,null,"All API Calls Integrated"),imageUrl:"img/undraw_project_completed_w0oq.svg",description:function(){return d.a.createElement(d.a.Fragment,null,"The Spotify Web API consists of over 74 API calls. ",d.a.createElement("code",null,"SpotifyAPI-NET")," provides fully typed requests/responses for all of them.")}},{title:d.a.createElement(d.a.Fragment,null,".NET Standard 2.X"),imageUrl:"img/undraw_Devices_e67q.svg",description:function(){return d.a.createElement(d.a.Fragment,null,"With the support of .NET Standard 2.X, ",d.a.createElement("code",null,"SpotifyAPI-NET")," runs on many platforms, including .NET Core, UWP and Xamarin.Forms (Windows, Android, iOS and Mac)")}},{title:d.a.createElement(d.a.Fragment,null,"Testable"),imageUrl:"img/undraw_QA_engineers_dg5p.svg",description:function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement("code",null,"SpotifyAPI-NET")," is built on a modular structure, which allows easy testing through mocks and stubs. Learn more by visiting the ",d.a.createElement(l.a,{to:Object(r.a)("docs/unit_testing")},"Testing Guide"))}}];function y(e){var t=e.imageUrl,a=e.title,n=e.description,l=Object(r.a)(t);return d.a.createElement("div",{className:m()("col col--4",h.a.feature)},l&&d.a.createElement("div",{className:"text--center"},d.a.createElement("img",{className:h.a.featureImage,src:l,alt:a})),d.a.createElement("h3",null,a),d.a.createElement("p",null,n()))}t.default=function(){var e=Object(i.default)().siteConfig,t=void 0===e?{}:e;return d.a.createElement(o.a,{title:""+t.title,description:"Documentation for the C# .NET SpotifyAPI-NET Library"},d.a.createElement("header",{className:m()("hero hero--primary",h.a.heroBanner)},d.a.createElement("div",{className:"container"},d.a.createElement("div",{className:"row"},d.a.createElement("div",{className:"col col--5"},d.a.createElement("img",{src:"img/logo.svg",width:"120",height:"120"}),d.a.createElement("h1",{className:"hero__title"},t.title,d.a.createElement("span",{style:{marginLeft:"50px"}}),d.a.createElement(g.a,{href:"https://github.com/JohnnyCrazy/SpotifyAPI-NET","data-icon":"octicon-star","data-size":"large","data-show-count":"true","aria-label":"Star JohnnyCrazy/SpotifyAPI-NET on GitHub"},"Star"),d.a.createElement("br",null),d.a.createElement("a",{href:"https://www.nuget.org/packages/SpotifyAPI.Web/",rel:"noopener noreferrer"},d.a.createElement("img",{alt:"Nuget",src:"https://img.shields.io/nuget/vpre/SpotifyAPI.Web?label=SpotifyAPI.Web&style=flat-square"})," "),d.a.createElement("a",{href:"https://www.nuget.org/packages/SpotifyAPI.Web.Auth/",rel:"noopener noreferrer"},d.a.createElement("img",{alt:"Nuget",src:"https://img.shields.io/nuget/vpre/SpotifyAPI.Web.Auth?label=SpotifyAPI.Web.Auth&style=flat-square"}))),d.a.createElement("p",{className:"hero__subtitle"},t.tagline),d.a.createElement("div",{className:h.a.buttons},d.a.createElement(l.a,{className:m()("button button--outline button--secondary button--lg",h.a.getStarted),to:Object(r.a)("docs/introduction")},"Get Started"))),d.a.createElement("div",{className:m()("col col--7",h.a.exampleCode)},d.a.createElement(c.a,{metastring:"csharp",className:"csharp"},'var spotify = new SpotifyClient("YourAccessToken");\n\nvar me = await spotify.UserProfile.Current();\nConsole.WriteLine($"Hello there {me.DisplayName}");\n\nawait foreach(\n var playlist in spotify.Paginate(await spotify.Playlists.CurrentUsers())\n)\n{\n Console.WriteLine(playlist.Name);\n}'))))),d.a.createElement("main",null,d.a.createElement("div",{className:"container"},d.a.createElement("h2",{style:{textAlign:"center",marginTop:"30px"}},"Try it out now"),d.a.createElement(p.a,null)),E&&E.length&&d.a.createElement("section",{className:h.a.features},d.a.createElement("div",{className:"container"},d.a.createElement("div",{className:"row"},E.map((function(e,t){return d.a.createElement(y,Object(n.a)({key:t},e))})))))))}},143:function(e,t,a){"use strict";var n=a(133),l=a(139),r=a(140),i=a(0),c=a.n(i);t.a=function(){return c.a.createElement("div",{style:{padding:"10px"}},c.a.createElement(r.a,{defaultValue:"cli",values:[{label:".NET CLI",value:"cli"},{label:"Package Manager",value:"nuget"},{label:"Package Reference",value:"reference"}]},c.a.createElement(l.a,{value:"cli"},c.a.createElement(n.a,{metastring:"shell",className:"shell"},"dotnet add package SpotifyAPI.Web\n# Optional Auth module, which includes an embedded HTTP Server for OAuth2\ndotnet add package SpotifyAPI.Web.Auth\n")),c.a.createElement(l.a,{value:"nuget"},c.a.createElement(n.a,{metastring:"shell",className:"shell"},"Install-Package SpotifyAPI.Web\n# Optional Auth module, which includes an embedded HTTP Server for OAuth2\nInstall-Package SpotifyAPI.Web.Auth\n")),c.a.createElement(l.a,{value:"reference"},c.a.createElement(n.a,{metastring:"xml",className:"xml"},'\n\x3c!-- Optional Auth module, which includes an embedded HTTP Server for OAuth2 --\x3e\n\n'))))}}}]);