Get a show
One TV show: its titles, network, genres, status, premiere and its ids at TVmaze, TheTVDB, IMDb and Wikidata.
Free key and every planLive data
GEThttps://api.tvguideapi.com/v1/shows/{id}
Try itRuns the real call with your key
200 OK
Parameters
| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| id | path | string | required | The show id. Ids come from Find a show. | sh_e29nzc1x |
Request
curl -H "Authorization: Bearer $TVG_KEY" \ "https://api.tvguideapi.com/v1/shows/sh_e29nzc1x"
$ch = curl_init("https://api.tvguideapi.com/v1/shows/sh_e29nzc1x");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("TVG_KEY")],
]);
$answer = json_decode(curl_exec($ch), true);
const r = await fetch("https://api.tvguideapi.com/v1/shows/sh_e29nzc1x", {
headers: { Authorization: `Bearer ${process.env.TVG_KEY}` },
});
const { data, meta } = await r.json();
import os, requests
r = requests.get(
"https://api.tvguideapi.com/v1/shows/sh_e29nzc1x",
headers={"Authorization": f"Bearer {os.environ['TVG_KEY']}"},
)
data = r.json()["data"]
Sample response
{
"data": {
"id": "sh_e29nzc1x",
"name": "EastEnders",
"network": {
"name": "BBC One"
},
"status": "Running",
"premiered": "1985-02-19",
"genres": [
"Drama"
],
"source": "tvmaze"
},
"meta": {
"took_ms": 23
}
}