Una vista de "Populares" en Main, mas que nada para figurar

This commit is contained in:
Daniel Cortes
2020-06-17 05:21:37 -04:00
parent a2b65fa800
commit 0617d0a969
6 changed files with 138 additions and 3 deletions

View File

@@ -38,6 +38,13 @@ export async function getReleaseSongs(mbid) {
return response.data
}
export async function getSong(mbid) {
const url = `${baseUrl}/recording/${mbid}`;
const response = await axios.get(url);
console.log(response.data);
return response.data;
}
export async function getDiscCoverArt(mbid) {
const url = `${baseUrl}/disc/${mbid}/coverart`;
const response = await axios.get(url);