example-data.com
Menu
Browse docs and collections

Overview

tv-shows / #77

Creator similique vel vilitas

Creator similique vel vilitas

2023

animation

★ 4.6 (309381)

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 77,
  "title": "Creator similique vel vilitas",
  "slug": "creator-similique-vel-vilitas-77",
  "firstAired": "2023-06-01",
  "lastAired": null,
  "seasonCount": 1,
  "episodeCount": 21,
  "genres": [
    "animation"
  ],
  "language": "French",
  "posterUrl": "https://picsum.photos/seed/tvshow-77/400/600",
  "rating": 4.6,
  "ratingCount": 309381,
  "status": "running",
  "createdAt": "2024-06-07T07:47:29.329Z"
}