songs
songs
Page 103 of 125.
Overview
-
Soul Man
· 4 min
-
Without Me
· 2 min
-
Feel Like Making Love
· 6 min
-
Arthur's Theme (Best That You Can Do)
· 6 min
-
Get Off of My Cloud
· 4 min
-
Blaze of Glory
· 8 min
-
As Time Goes By
· 6 min
-
Brown Sugar
· 3 min
-
Moonlight Cocktail
· 6 min
-
Pon De Replay
· 7 min
-
California Dreamin'
· 3 min
-
You Are the Sunshine of My Life
· 4 min
-
My Sharona
· 2 min
-
Shop Around
· 6 min
-
We've Only Just Begun
· 2 min
-
You Send Me
· 6 min
-
When You Wish Upon a Star
· 2 min
-
Peggy Sue
· 2 min
-
Mack the Knife
· 8 min
-
The Thing
· 6 min
-
Personality
· 2 min
-
Right Back Where We Started From
· 5 min
-
How High the Moon
· 7 min
-
All I Wanna Do
· 5 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": 2449,
"albumId": 232,
"artistId": 82,
"title": "Soul Man",
"slug": "soul-man-2449",
"trackNumber": 6,
"durationSeconds": 238,
"isExplicit": false,
"playCount": 38305621,
"createdAt": "2022-12-31T22:32:26.963Z"
},
{
"id": 2450,
"albumId": 232,
"artistId": 82,
"title": "Without Me",
"slug": "without-me-2450",
"trackNumber": 7,
"durationSeconds": 141,
"isExplicit": false,
"playCount": 34034630,
"createdAt": "2021-09-15T17:32:09.350Z"
},
{
"id": 2451,
"albumId": 232,
"artistId": 82,
"title": "Feel Like Making Love",
"slug": "feel-like-making-love-2451",
"trackNumber": 8,
"durationSeconds": 357,
"isExplicit": false,
"playCount": 28601547,
"createdAt": "2022-04-29T04:39:52.092Z"
}
],
"meta": {
"page": 103,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=103&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=104&limit=24",
"prev": "/api/v1/songs?page=102&limit=24"
}
}