example-data.com
Menu
Browse docs and collections

Overview

podcast-episodes / #605

Tubineus attollo paens cura cuppedia distinctio qui convoco

Umquam aggredior caecus tracto sollicito deputo facere. Adfectus adstringo crebro sophismata comburo vereor. Canto pecco truculenter.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/podcast-episodes/605"
);
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/605"
);
const podcastEpisode = (await res.json()) as PodcastEpisode;

Python example

import requests

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

Response

{
  "id": 605,
  "podcastId": 30,
  "title": "Tubineus attollo paens cura cuppedia distinctio qui convoco",
  "slug": "tubineus-attollo-paens-cura-cuppedia-distinctio-qui-convoco-605",
  "description": "Umquam aggredior caecus tracto sollicito deputo facere. Adfectus adstringo crebro sophismata comburo vereor. Canto pecco truculenter.",
  "audioUrl": "https://example.com/podcasts/30/episodes/7.mp3",
  "durationSeconds": 3157,
  "episodeNumber": 7,
  "seasonNumber": null,
  "publishedAt": "2023-10-20T15:12:40.814Z",
  "createdAt": "2023-10-20T01:56:45.324Z"
}