/v1/episodes
Full episode list for a show
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/tvshows-api/v1/episodes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tvshows-api/v1/episodes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tvshows-api/v1/episodes");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/tvshows-api/v1/episodes",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"show": {
"id": 169,
"name": "Breaking Bad"
},
"count": 62,
"episodes": [
{
"id": 12192,
"code": "S01E01",
"name": "Pilot",
"type": "regular",
"image": "https://static.tvmaze.com/uploads/images/original_untouched/405/1012681.jpg",
"number": 1,
"rating": 8.2,
"season": 1,
"airdate": "2008-01-20",
"airtime": "22:00",
"runtime": 60,
"summary": "A high-school chemistry teacher (Bryan Cranston) is diagnosed with a deadly cancer, so he puts his expertise to use and teams with an ex-student (Aaron Paul) to manufacture top-grade crystal meth in hopes of providing for his family after he's gone."
},
{
"id": 12193,
"code": "S01E02",
"name": "Cat's in the Bag...",
"type": "regular",
"image": "https://static.tvmaze.com/uploads/images/original_untouched/405/1012682.jpg",
"number": 2,
"rating": 7.9,
"season": 1,
"airdate": "2008-01-27",
"airtime": "22:00",
"runtime": 60,
"summary": "After the accident in the desert, Walter and Jesse need to dispose of the unfortunate mess in their rolling lab of an RV, and Skyler begins to suspect that Walter and Jesse are involved in some mysterious goings-on."
},
{
"id": 12194,
"code": "S01E03",
"name": "...and the Bag's in the River",
"type": "regular",
"image": "https://static.tvmaze.com/uploads/images/original_untouched/405/1012683.jpg",
"number": 3,
"rating": 8.1,
"season": 1,
"airdate": "2008-02-10",
"airtime": "22:00",
"runtime": 60,
"summary": "Walter and Jesse fight about the latter's drug use, so he leaves, forcing Walter to deal with their captive, Krazy-8 (Max Arciniega); Hank uses scared-straight tactics with Walter Jr. when his aunt suspects he's smoking pot; Skyler is furious when Walter stays away from home."
},
{
"id": 12195,
"code": "S01E04",
"name": "Cancer Man",
"type": "regular",
"image": "https://static.tvmaze.com/uploads/images/original_untouched/405/1012684.jpg",
"number": 4,
"rating": 7.5,
"season": 1,
"airdate": "2008-02-17",
"airtime": "22:00",
"runtime": 60,
"summary": "Walter announces to the family that he has cancer; the DEA believes there is a new big-time player in the Albuquerque drug b
…