🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Movies
HiMovies
Get Episode Servers

Get Episode Servers

Technical details regarding the usage of the get available servers function for the HiMovies 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/movies/himovies/servers?episodeId={episodeId}&mediaId={mediaId}

Query Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe Episode's ID you want the servers forYes""
mediaIdstringThe movie/show info IDYes""

Request Samples

import axios from "axios";
 
// Using the example episode ID and media ID
const url = "https://api.consumet.org/movies/himovies/servers";
const data = async () => {
    try {
        const { data } = await axios.get(url, { 
          params: { 
            episodeId: "5678", 
            mediaId: "movie/watch-inception-12345" 
          } 
        });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

[
  {
    "name": "string",
    "url": "string"
  }
]