example-data.com
Menu
Browse docs and collections

Overview

podcast-episodes / #335

Derideo creptio viscus coepi commemoro quia

Doloribus thema suppono vaco alo credo. Curso cohibeo fugiat subseco. Pecus supra tibi adversus claudeo tersus adamo. Angustus non curso terror.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 335,
  "podcastId": 17,
  "title": "Derideo creptio viscus coepi commemoro quia",
  "slug": "derideo-creptio-viscus-coepi-commemoro-quia-335",
  "description": "Doloribus thema suppono vaco alo credo. Curso cohibeo fugiat subseco. Pecus supra tibi adversus claudeo tersus adamo. Angustus non curso terror.",
  "audioUrl": "https://example.com/podcasts/17/episodes/13.mp3",
  "durationSeconds": 3257,
  "episodeNumber": 13,
  "seasonNumber": null,
  "publishedAt": "2024-04-20T03:57:34.997Z",
  "createdAt": "2024-04-19T08:35:02.655Z"
}