example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #69

Utpote cognatus soluta

Utpote cognatus soluta

2015

adventure

★ 1.4 (254132)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 69,
  "title": "Utpote cognatus soluta",
  "slug": "utpote-cognatus-soluta-69",
  "firstAired": "2015-01-11",
  "lastAired": null,
  "seasonCount": 10,
  "episodeCount": 68,
  "genres": [
    "adventure"
  ],
  "language": "Spanish",
  "posterUrl": "https://picsum.photos/seed/tvshow-69/400/600",
  "rating": 1.4,
  "ratingCount": 254132,
  "status": "running",
  "createdAt": "2023-12-24T17:41:27.653Z"
}