Cumque coniecto aliqua
2023
science-fiction
★ 5.6 (85268)
Overview
tv-shows / #59
2023
★ 5.6 (85268)
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tv-shows/59" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tv-shows/59" ); const tvShow = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/tv-shows.d.ts https://example-data.com/types/tv-shows.d.ts
import type { TvShow } from "./types/tv-shows";
const res = await fetch(
"https://example-data.com/api/v1/tv-shows/59"
);
const tvShow = (await res.json()) as TvShow; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tv-shows/59"
)
tv_show = res.json() Response
{
"id": 59,
"title": "Cumque coniecto aliqua",
"slug": "cumque-coniecto-aliqua-59",
"firstAired": "2023-08-07",
"lastAired": null,
"seasonCount": 10,
"episodeCount": 152,
"genres": [
"science-fiction"
],
"language": "Mandarin",
"posterUrl": "https://picsum.photos/seed/tvshow-59/400/600",
"rating": 5.6,
"ratingCount": 85268,
"status": "running",
"createdAt": "2024-05-20T22:43:06.379Z"
}