- Images now pull from spotify if setup!
- Show top artists/album
This commit is contained in:
Daniel Mason 2021-04-08 20:46:31 +12:00
parent b1de018b27
commit 8294791abe
Signed by: idanoo
GPG key ID: 387387CDBC02F132
12 changed files with 278 additions and 106 deletions

View file

@ -326,3 +326,12 @@ export const getTopTracks = (uuid) => {
return handleErrorResp(error)
});
}
export const getTopArtists = (uuid) => {
return axios.get(process.env.REACT_APP_API_URL + "artists/top/" + uuid).then(
(data) => {
return data.data;
}).catch((error) => {
return handleErrorResp(error)
});
}