example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #17

At aro angustus temperantia caute

At aro angustus temperantia caute

2016

comedy

★ 5.1 (410237)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 17,
  "title": "At aro angustus temperantia caute",
  "slug": "at-aro-angustus-temperantia-caute-17",
  "firstAired": "2016-06-20",
  "lastAired": null,
  "seasonCount": 5,
  "episodeCount": 86,
  "genres": [
    "comedy"
  ],
  "language": "Korean",
  "posterUrl": "https://picsum.photos/seed/tvshow-17/400/600",
  "rating": 5.1,
  "ratingCount": 410237,
  "status": "running",
  "createdAt": "2024-09-21T13:18:40.412Z"
}