"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[1663],{3905:function(t,e,r){r.d(e,{Zo:function(){returnm},kt:function(){returnd}});vara=r(7294);functionn(t,e,r){returneint?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}functioni(t,e){varr=Object.keys(t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}returnr}functionl(t){for(vare=1;e<arguments.length;e++){varr=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}returnt}functiono(t,e){if(null==t)return{};varr,a,n=function(t,e){if(null==t)return{};varr,a,n={},i=Object.keys(t);for(a=0;a<i.length;a++)r=i[a],e.indexOf(r)>=0||(n[r]=t[r]);returnn}(t,e);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(t);for(a=0;a<i.length;a++)r=i[a],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}returnn}varp=a.createContext({}),s=function(t){vare=a.useContext(p),r=e;returnt&&(r="function"==typeoft?t(e):l(l({},e),t)),r},m=function(t){vare=s(t.components);returna.createElement(p.Provider,{value:e},t.children)},u={inlineCode:"code",wrapper:function(t){vare=t.children;returna.createElement(a.Fragment,{},e)}},c=a.forwardRef((function(t,e){varr=t.components,n=t.mdxType,i=t.originalType,p=t.parentName,m=o(t,["components","mdxType","originalType","parentName"]),c=s(r),d=n,k=c["".concat(p,".").concat(d)]||c[d]||u[d]||i;returnr?a.createElement(k,l(l({ref:e},m),{},{components:r})):a.createElement(k,l({ref:e},m))}));functiond(t,e){varr=arguments,n=e&&e.mdxType;if("string"==typeoft||n){vari=r.length,l=newArray(i);l[0]=c;varo={};for(varpine)hasOwnProperty.call(e,p)&&(o[p]=e[p]);o.originalType=t,o.mdxType="string"==typeoft?t:n,l[1]=o;for(vars=2;s<i;s++)l[s]=r[s];returna.createElement.apply(null,l)}returna.createElement.apply(null,r)}c.displayName="MDXCreateElement"},823:function(t,e,r){r.r(e),r.d(e,{frontMatter:function(){returnl},contentTitle:function(){returno},metadata:function(){returnp},toc:function(){returns},default:function(){returnu}});vara=r(3117),n=r(102),i=(r(7294),r(3905)),l={id:"personalization",title:"Personalization",sidebar_label:"Personalization"},o=void0,p={unversionedId:"web/personalization",id:"version-5.1.1/web/personalization",isDocsHomePage:!1,title:"Personalization",description:"GetUsersTopTracks",source:"@site/versioned_docs/version-5.1.1/web/personalization.md",sourceDirName:"web",slug:"/web/personalization",permalink:"/SpotifyAPI-NET/docs/5.1.1/web/personalization",editUrl:"https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/personalization.md",version:"5.1.1",lastUpdatedBy:"dependabot[bot]",lastUpdatedAt:1643139036,formattedLastUpdatedAt:"1/25/2022",frontMatter:{id:"personalization",title:"Personalization",sidebar_label:"Personalization"},sidebar:"version-5.1.1/someSidebar",previous:{title:"Library",permalink:"/SpotifyAPI-NET/docs/5.1.1/web/library"},next:{title:"Player",permalink:"/SpotifyAPI-NET/docs/5.1.1/web/player"}},s=[{value:"GetUsersTopTracks",id:"getuserstoptracks",children:[]},{value:"GetUsersTopArtists",id:"getuserstopartists",children:[]},{value:"GetUsersRecentlyPlayedTracks",id:"getusersrecentlyplayedtracks",children:[]}],m={toc:s};functionu(t){vare=t.components,r=(0,n.Z)(t,["components"]);return(0,i.kt)("wrapper",(0,a.Z)({},m,r,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"getuserstoptracks"},"GetUsersTopTracks"),(0,i.kt)("blockquote",null,(0,i.kt)("p",{parentName:"blockquote"},"Get the current user\u2019s top tracks based on calculated affinity.")),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"Parameters")),(0,i.kt)("table",null,(0,i.kt)("thead",{parent