REST cURL
Jeg søger et script der sender:"GET" "https://BLA BLA BLA/"
Header:
"
Accept: application/json
Content-Type: application/json
Authorization: Bearer BLA BLA BLA
"
Og returnere
specifikke Childs.
Så som:
{
"timestamp" : <1572880662688>,
"progress_ms" : <364799>,
"item" : {
"album" : {
"images" : [ {
"url" : "<https://URL.jpg>"
} ],
"name" : "<ALBUM TITLE>"
},
"artists" : [ {
"id" : "<ARTIST ID>",
"name" : "<ARTIST TITLE>"
} ],
"duration_ms" : <394253>,
"id" : "<TRACK ID>",
"name" : "<TRACK TITLE>",
"preview_url" : "<https://URL.mp3>"
},
},
}
(bla bla er idnskrevet grundet token)