example-data.com
Menu
Browse docs and collections

Overview

podcast-episodes / #309

Aqua maiores triumphus viridis video degero

Voluptatem ustilo vilicus spero. Suscipio torqueo adopto arbor condico. Dolorum tondeo coma vigilo. Cresco ratione arguo amplus agnosco.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/podcast-episodes/309" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/podcast-episodes/309"
);
const podcastEpisode = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/podcast-episodes.d.ts https://example-data.com/types/podcast-episodes.d.ts
import type { PodcastEpisode } from "./types/podcast-episodes";

const res = await fetch(
  "https://example-data.com/api/v1/podcast-episodes/309"
);
const podcastEpisode = (await res.json()) as PodcastEpisode;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/podcast-episodes/309"
)
podcast_episode = res.json()

Response

{
  "id": 309,
  "podcastId": 16,
  "title": "Aqua maiores triumphus viridis video degero",
  "slug": "aqua-maiores-triumphus-viridis-video-degero-309",
  "description": "Voluptatem ustilo vilicus spero. Suscipio torqueo adopto arbor condico. Dolorum tondeo coma vigilo. Cresco ratione arguo amplus agnosco.",
  "audioUrl": "https://example.com/podcasts/16/episodes/4.mp3",
  "durationSeconds": 1026,
  "episodeNumber": 4,
  "seasonNumber": null,
  "publishedAt": "2024-09-02T09:48:41.447Z",
  "createdAt": "2024-09-01T16:06:27.131Z"
}