example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #39

Aegrus succurro assentator

Aegrus succurro assentator

2010

mystery

★ 3.7 (103945)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 39,
  "title": "Aegrus succurro assentator",
  "slug": "aegrus-succurro-assentator-39",
  "firstAired": "2010-07-07",
  "lastAired": "2013-04-06",
  "seasonCount": 14,
  "episodeCount": 201,
  "genres": [
    "mystery"
  ],
  "language": "Portuguese",
  "posterUrl": "https://picsum.photos/seed/tvshow-39/400/600",
  "rating": 3.7,
  "ratingCount": 103945,
  "status": "ended",
  "createdAt": "2024-05-28T04:04:34.293Z"
}