"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}functionl(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}functioni(t){for(vare=1;e<arguments.length;e++){varr=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(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={},l=Object.keys(t);for(a=0;a<l.length;a++)r=l[a],e.indexOf(r)>=0||(n[r]=t[r]);returnn}(t,e);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)r=l[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):i(i({},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,l=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]||l;returnr?a.createElement(k,i(i({ref:e},m),{},{components:r})):a.createElement(k,i({ref:e},m))}));functiond(t,e){varr=arguments,n=e&&e.mdxType;if("string"==typeoft||n){varl=r.length,i=newArray(l);i[0]=c;varo={};for(varpine)hasOwnProperty.call(e,p)&&(o[p]=e[p]);o.originalType=t,o.mdxType="string"==typeoft?t:n,i[1]=o;for(vars=2;s<l;s++)i[s]=r[s];returna.createElement.apply(null,i)}returna.createElement.apply(null,r)}c.displayName="MDXCreateElement"},3154:function(t,e,r){r.r(e),r.d(e,{assets:function(){returnm},contentTitle:function(){returnp},default:function(){returnd},frontMatter:function(){returno},metadata:function(){returns},toc:function(){returnu}});vara=r(7462),n=r(3366),l=(r(7294),r(3905)),i=["components"],o={id:"personalization",title:"Personalization",sidebar_label:"Personalization"},p=void0,s={unversionedId:"web/personalization",id:"version-5.1.1/web/personalization",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",draft:!1,editUrl:"https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/personalization.md",tags:[],version:"5.1.1",lastUpdatedBy:"Jonas Dellinger",lastUpdatedAt:1685219501,formattedLastUpdatedAt:"May 27, 2023",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"}},m={},u=[{value:"GetUsersTopTracks",id:"getuserstoptracks",level:2},{value:"GetUsersTopArtists",id:"getuserstopartists",level:2},{value:"GetUsersRecentlyPlayedTracks",id:"getusersrecentlyplayedtracks",level:2}],c={toc:u};functiond(t){vare=t.components,r=(0,n.Z)(t,i);return(0,l.kt)("wrapper",(0,a.Z)({},c,r,{components:e,mdxType:"MDXLayout"}),(0,l.kt)("h2",{id:"getuserstoptracks"},"GetUsersTopTracks"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Get the current user\u2019s top tracks based on calculated affinity.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",