flixquest-api
This public repository does not include a GitHub description yet.
0
Stars
0
Forks
0
Watchers
0
Issues
149
Size (KB)
main
Branch
Files
Source on GitHubBrowse the folder structure on GitHub
File tree for this repository will appear here after the next data sync. Meanwhile you can open the full folder listing directly on GitHub.
README.md
View raw on GitHub โ<p align="center">
<img alt="Consumet" src="https://raw.githubusercontent.com/BeamlakAschalew/beamlakaschalew.github.io/main/cinemax/res/assets/images/logo.png" width="150">
</p>
<h1 align="center">FlixQuest API</h1>
<p align="center">REST API that fetches streaming links of movies and TV shows based on TMDB id using @movie-web/providers package</p>
<p align="center"><a src="https://github.com/BeamlakAschalew/flixquest-api/actions/workflows/node.js.yml"><img src="https://github.com/BeamlakAschalew/flixquest-api/actions/workflows/node.js.yml/badge.svg" alt="Node build badge"></a>
<a src="https://github.com/BeamlakAschalew/flixquest-api/blob/main/LICENSE"><img src="https://img.shields.io/github/license/BeamlakAschalew/flixquest-api"></img></a>
</p>
Hosted instance: https://flixquest-api.vercel.app
API Reference
List of available providers:
| Name | Id | Status |
| :----------- | :------------- | :------- |
| ShowBox | showbox | ๐ข 200 |
| FlixHQ | flixhq | ๐ด 500 |
| ZoeChip | zoe | ๐ด 500 |
| SmashyStream | smashystream | ๐ด 500 |
| RemoteStream | remotestream | ๐ด 500 |
| Gomovies | gomovies | ๐ด 500 |
| VidSrc | vidsrc | ๐ข 200 |
| VidSrcTo | vidsrcto | ๐ข 200 |
Get all links and subtitles for a movie
| Parameter | Type | Description |
| :-------- | :----- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| tmdbId | int | Required. TMDB id of the movie |
| proxied | bool | Optional. true or false value.<br><br>If set true or proxied parameter is left empty, the script uses the proxy URL that is found in the environment variable.<br/>Otherwise if set false the script will make a raw request towards the provider. |
GET /{provider ID}/watch-movie?tmdbId=tmdbId
Example
Get streaming link and subtitles for the movie 'The Hangover 1' from the 'FlixHQ' provider
GET /flixhq/watch-movie?tmdbId=18785
Get all links and subtitles for an episode
| Parameter | Type | Description |
| :-------- | :----- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| tmdbId | int | Required. TMDB id of the TV show |
| season | int | Required. The season number of the episode |
| episode | int | Required. The episode number of the episode |
| proxied | bool | Optional. true or false value.<br><br>If set true or proxied parameter is left empty, the script uses the proxy URL that is found in the environment variable.<br/>Otherwise if set false the script will make a raw request towards the provider. |
GET /{provider ID}/watch-tv?tmdbId=tmdbId&season=season&episode=episode
Example
Get streaming link and subtitles for the TV show 'The Office' from the 'FlixHQ' provider
GET /flixhq/watch-tv?tmdbId=2316&season=1&episode=1
Installation
Locally
Installation is simple.
Run the following command to clone the repository, and install the dependencies.
$ git clone https://github.com/BeamlakAschalew/flixquest-api.git
$ cd flixquest-api
$ npm install
start the server!
$ npm start
or
$ nodemon
Vercel
Host your own instance of FlixQuest API on Vercel using the button below.
Render
Host your own instance of FlixQuest API on Render using the button below.
Environment Variables
TMDB_KEY (Required) : TMDB API key, used to get the metadata of a movie or TV show, can be found at https://www.themoviedb.org/settings/api
WORKERS_URL (Optional) : A proxy URL that'll be used while making a GET request (used only if proxied is true or if proxied is left unprovided).
You can get Cloudflare proxy at https://workers.cloudflare.com/<br>
Or deploy your own custom proxy from here and place the endpoint in WORKERS_URL
You can cache data that comes from TMDB and from the providers if you have a Redis database:
REDIS_HOST URL of your Redis database<br>REDIS_PASSWORD password of your database<br>REDIS_PORT port of your database connection
Credits
Most of the code of this script is based on Consumet API<br>
The script uses @movie-web/providers package
Contributors
<a href="https://github.com/beamlakaschalew/flixquest-api/graphs/contributors">
<img src="https://contrib.rocks/image?repo=beamlakaschalew/flixquest-api" />
</a>
Repository metadata
- Owner
- TEGAR-SRC
- Primary language
- Not detected
- License
- GPL-3.0
- Created
- Apr 20, 2024
- Last pushed
- Mar 5, 2024
- Last updated
- Jul 13, 2024
Clone this repository
HTTPS
git clone https://github.com/TEGAR-SRC/flixquest-api.gitSSH
git clone git@github.com:TEGAR-SRC/flixquest-api.git