kaustuv90 / 2embed-api

Get HLS streams and info from 2embed.to

Home Page:https://stream-api-one.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://stream-api-one.vercel.app


Languages

Language:TypeScript 100.0%