example-data.com
Menu
Browse docs and collections

Overview

podcast-episodes / #334

Voluptate rem thema temeritas adicio asper casso

Allatus conitor aiunt ambulo charisma abeo. Dolore architecto articulus sperno versus velum. Adeptio commodo sint cubo repellendus tempore. Uterque abscido iusto abutor.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 334,
  "podcastId": 17,
  "title": "Voluptate rem thema temeritas adicio asper casso",
  "slug": "voluptate-rem-thema-temeritas-adicio-asper-casso-334",
  "description": "Allatus conitor aiunt ambulo charisma abeo. Dolore architecto articulus sperno versus velum. Adeptio commodo sint cubo repellendus tempore. Uterque abscido iusto abutor.",
  "audioUrl": "https://example.com/podcasts/17/episodes/12.mp3",
  "durationSeconds": 958,
  "episodeNumber": 12,
  "seasonNumber": null,
  "publishedAt": "2023-07-27T05:09:29.127Z",
  "createdAt": "2023-07-27T04:50:11.161Z"
}