songs
songs
Page 78 of 125.
Overview
-
Wannabe
· 2 min
-
Let's Get it On
· 7 min
-
Karma Chameleon
· 3 min
-
Somebody to Love
· 3 min
-
War
· 8 min
-
Turn! Turn! Turn! (To Everything There is a Season)
· 6 min
-
After You've Gone
· 2 min
-
Peg o' My Heart
· 6 min
-
The Boy is Mine
· 4 min
-
Rock Around the Clock
· 5 min
-
Maybellene
· 4 min
-
Flashdance. What a Feeling
· 5 min
-
Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)
· 2 min
-
Best of My Love
· 8 min
-
Why Don't You Believe Me?
· 3 min
-
Eight Days a Week
· 7 min
-
Pony Time
· 6 min
-
Iris
· 3 min
-
Some Enchanted Evening
· 5 min
-
(You Keep Me) Hangin' On
· 4 min
-
The Joker
· 3 min
-
Everybody Loves Somebody
· 8 min
-
Rag Doll
· 3 min
-
I Will Survive
· 7 min
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/songs?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/songs.d.ts https://example-data.com/types/songs.d.ts
import type { Song, ListEnvelope } from "./types/songs";
const res = await fetch(
"https://example-data.com/api/v1/songs?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Song>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 1849,
"albumId": 176,
"artistId": 63,
"title": "Wannabe",
"slug": "wannabe-1849",
"trackNumber": 1,
"durationSeconds": 122,
"isExplicit": false,
"playCount": 4393760,
"createdAt": "2022-11-14T09:15:10.604Z"
},
{
"id": 1850,
"albumId": 176,
"artistId": 63,
"title": "Let's Get it On",
"slug": "lets-get-it-on-1850",
"trackNumber": 2,
"durationSeconds": 429,
"isExplicit": false,
"playCount": 7967930,
"createdAt": "2021-11-18T10:25:24.213Z"
},
{
"id": 1851,
"albumId": 176,
"artistId": 63,
"title": "Karma Chameleon",
"slug": "karma-chameleon-1851",
"trackNumber": 3,
"durationSeconds": 151,
"isExplicit": false,
"playCount": 15560276,
"createdAt": "2021-08-09T01:53:00.333Z"
}
],
"meta": {
"page": 78,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=78&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=79&limit=24",
"prev": "/api/v1/songs?page=77&limit=24"
}
}