Spotify.NET/c4f5d8e4.27f12f8f.js

2 lines
20 KiB
JavaScript
Raw Normal View History

/*! For license information please see c4f5d8e4.27f12f8f.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{184:function(e,t,a){"use strict";a.r(t);var r=a(2),n=a(0),o=a.n(n),i=a(187),l=a.n(i),c=a(198),s=a(199),d=(a(200),a(197),a(189)),u=a(186),f=a(188),h=a(173),p=a.n(h);class m extends n.PureComponent{constructor(e){super(e),this.$=o.a.createRef(),this._=o.a.createRef()}render(){return o.a.createElement("span",{ref:this.$},o.a.createElement("a",{...this.props,ref:this._},this.props.children))}componentDidMount(){this.paint()}getSnapshotBeforeUpdate(){return this.reset(),null}componentDidUpdate(){this.paint()}componentWillUnmount(){this.reset()}paint(){const e=this.$.current.appendChild(document.createElement("span"));Promise.resolve().then(a.bind(null,242)).then(({render:t})=>{t(e.appendChild(this._.current),(function(t){try{e.parentNode.replaceChild(t,e)}catch(e){}}))})}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}}var g=m,b=a(209),v=[{title:o.a.createElement(o.a.Fragment,null,"Sane Defaults - Easy To Configure"),imageUrl:"img/undraw_preferences_uuo2.svg",description:function(){return o.a.createElement(o.a.Fragment,null,o.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:o.a.createElement(o.a.Fragment,null,"All API Calls Integrated"),imageUrl:"img/undraw_project_completed_w0oq.svg",description:function(){return o.a.createElement(o.a.Fragment,null,"The Spotify Web API consists of over 74 API calls. ",o.a.createElement("code",null,"SpotifyAPI-NET")," provides fully typed requests/responses for all of them.")}},{title:o.a.createElement(o.a.Fragment,null,".NET Standard 2.X"),imageUrl:"img/undraw_Devices_e67q.svg",description:function(){return o.a.createElement(o.a.Fragment,null,"With the support of .NET Standard 2.X, ",o.a.createElement("code",null,"SpotifyAPI-NET")," runs on many platforms, including .NET Core, UWP and Xamarin.Forms (Windows, Android, iOS and Mac)")}},{title:o.a.createElement(o.a.Fragment,null,"Testable"),imageUrl:"img/undraw_QA_engineers_dg5p.svg",description:function(){return o.a.createElement(o.a.Fragment,null,o.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 ",o.a.createElement(d.a,{to:Object(f.a)("docs/next/testing")},"Testing Guide"))}}];function w(e){var t=e.imageUrl,a=e.title,r=e.description,n=Object(f.a)(t);return o.a.createElement("div",{className:l()("col col--4",p.a.feature)},n&&o.a.createElement("div",{className:"text--center"},o.a.createElement("img",{className:p.a.featureImage,src:n,alt:a})),o.a.createElement("h3",null,a),o.a.createElement("p",null,r()))}t.default=function(){var e=Object(u.a)().siteConfig,t=void 0===e?{}:e;return o.a.createElement(c.a,{title:""+t.title,description:"Documentation for the C# .NET SpotifyAPI-NET Library"},o.a.createElement("header",{className:l()("hero hero--primary",p.a.heroBanner)},o.a.createElement("div",{className:"container"},o.a.createElement("div",{className:"row"},o.a.createElement("div",{className:"col col--5"},o.a.createElement("img",{src:"img/logo.svg",width:"120",height:"120"}),o.a.createElement("h1",{className:"hero__title"},t.title,o.a.createElement("span",{style:{marginLeft:"50px"}}),o.a.createElement(g,{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"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://www.nuget.org/packages/SpotifyAPI.Web/",rel:"noopener noreferrer"},o.a.createElement("img",{alt:"Nuget",src:"https://img.shields.io/nuget/vpre/SpotifyAPI.Web?label=SpotifyAPI.Web&style=flat-square"})," "),o.a.createElement("a",{href:"https://www.nuget.org/packages/SpotifyAPI.Web.Auth/",rel:"noopener noreferrer"},o.a.createElement("img",{alt:"Nuget",src:"https://img.shields.io/nuget/vpre/SpotifyAPI.We