Get Episode Servers
Technical details regarding the usage of the get episode servers function for the KickAssAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
Route Schema (URL)
https://api.consumet.org/anime/kickassanime/servers?episodeId={episodeId}Query Parameters
| Parameter | Type | Description | Required? | Default |
|---|---|---|---|---|
| episodeId | string | The episode ID/path of the episode (e.g., "naruto-f3cf/episode/ep-1-12cd96"). | Yes | "" |
Request Samples
import axios from "axios";
// Using the example episode ID of "naruto-f3cf/episode/ep-1-12cd96".
const url = "https://api.consumet.org/anime/kickassanime/servers";
const data = async () => {
try {
const { data } = await axios.get(url, {
params: { episodeId: "naruto-f3cf/episode/ep-1-12cd96" }
});
return data;
} catch (err) {
throw new Error(err.message);
}
};
console.log(data);Response Schema
MIME Type: application/json
[
{
"name": "VidStreaming",
"url": "string"
},
{
"name": "BirdStream",
"url": "string"
},
{
"name": "DuckStream",
"url": "string"
}
]