example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #100

Maxime vacuus volup

Maxime vacuus volup

2017

fantasy

★ 4.3 (68093)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 100,
  "title": "Maxime vacuus volup",
  "slug": "maxime-vacuus-volup-100",
  "firstAired": "2017-01-19",
  "lastAired": null,
  "seasonCount": 3,
  "episodeCount": 15,
  "genres": [
    "fantasy"
  ],
  "language": "French",
  "posterUrl": "https://picsum.photos/seed/tvshow-100/400/600",
  "rating": 4.3,
  "ratingCount": 68093,
  "status": "running",
  "createdAt": "2023-12-17T09:04:59.123Z"
}