example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #47

Amo patruus tersus clam

Amo patruus tersus clam

2001

comedydramafantasy

★ 0.4 (183392)

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tv-shows/47" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tv-shows/47"
);
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/47"
);
const tvShow = (await res.json()) as TvShow;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tv-shows/47"
)
tv_show = res.json()

Response

{
  "id": 47,
  "title": "Amo patruus tersus clam",
  "slug": "amo-patruus-tersus-clam-47",
  "firstAired": "2001-09-21",
  "lastAired": null,
  "seasonCount": 13,
  "episodeCount": 180,
  "genres": [
    "comedy",
    "drama",
    "fantasy"
  ],
  "language": "French",
  "posterUrl": "https://picsum.photos/seed/tvshow-47/400/600",
  "rating": 0.4,
  "ratingCount": 183392,
  "status": "running",
  "createdAt": "2024-08-06T03:58:00.423Z"
}