/v1/episodes
Full episode list for a show
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
…