example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #72

Derideo adhuc perspiciatis

Derideo adhuc perspiciatis

2010

thrilleradventure

★ 0.7 (244867)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 72,
  "title": "Derideo adhuc perspiciatis",
  "slug": "derideo-adhuc-perspiciatis-72",
  "firstAired": "2010-11-19",
  "lastAired": null,
  "seasonCount": 7,
  "episodeCount": 55,
  "genres": [
    "thriller",
    "adventure"
  ],
  "language": "Japanese",
  "posterUrl": "https://picsum.photos/seed/tvshow-72/400/600",
  "rating": 0.7,
  "ratingCount": 244867,
  "status": "running",
  "createdAt": "2024-11-29T09:21:11.249Z"
}