Skip to content

parnexcodes/2embed-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2embed-api

Get HLS streams and info from 2embed.to

Run Locally

Clone the project

  git clone https://github.com/parnexcodes/2embed-api

Go to the project directory

  cd 2embed-api

Install dependencies

  npm install

Start the server

  cd src
  npm dev

API Reference

Get tmdb details

  GET /api/details/:type/:id
Parameter Type Description
type string movie/tv
id string tmdb id

Get Episodes

  GET /api/episodes/tv/:id/seasons/:season_n_query
Parameter Type Description
id string tmdb id
season_n_query string season number

Get HLS Stream

  GET /api/get_source/:type?id=${id}&s=${season_num}&e=${ep_num}
Parameter Type Description
type string movie/tv
id string tmdb id
s string Only for TV : season number
e string Only for TV : episode number

Authors

About

Get HLS streams and info from 2embed.to

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published