mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 17:45:11 +00:00
73 lines
1.5 KiB
Markdown
73 lines
1.5 KiB
Markdown
# Unoffical Vidsrc API! 👋
|
|
## Sponsorship / Donations
|
|
|
|
Your sponsorship is vital in helping me achieve this mission. With your support, I can:
|
|
|
|
Dedicate more time to developing and improving my projects
|
|
Cover costs for essential tools, services and premium hosting to run public projects
|
|
Provide detailed documentation and support for users
|
|
Every contribution, no matter the size, makes a significant impact.
|
|
|
|
[Sponsor Me!](https://github.com/sponsors/Inside4ndroid)
|
|
|
|
Thank you for considering supporting my work!
|
|
|
|
### NOTE:
|
|
|
|
This is an api for id's provided at [TMDB](https://www.themoviedb.org/)
|
|
|
|
you must use the ID from the tmdb url like this :
|
|
|
|
so
|
|
```
|
|
MOVIES:
|
|
|
|
https://www.themoviedb.org/movie/1034541-terrifier-3?language=en-GB
|
|
|
|
TV SHOWS:
|
|
|
|
https://www.themoviedb.org/tv/124364-from?language=en-GB
|
|
```
|
|
would be
|
|
```
|
|
MOVIES:
|
|
|
|
`/{provider}/1034541`
|
|
|
|
TVSHOWS :
|
|
|
|
`/{provider}/124364?s=1&e=1` (s - Season / e - Episode)
|
|
```
|
|
|
|
## Providers
|
|
|
|
The providers are currently :
|
|
|
|
```
|
|
vidsrc
|
|
asiaheroku
|
|
```
|
|
|
|
## Example Movie
|
|
```
|
|
https://your-domain/vidsrc/916224
|
|
```
|
|
|
|
## Example Show
|
|
```
|
|
https://your-domain/asiaheroku/1429?s=1&e=1
|
|
```
|
|
|
|
## Deployment
|
|
|
|
You can self host by doing the following :
|
|
|
|
1. `git clone https://github.com/Inside4ndroid/vidsrc-api-js.git`
|
|
2. `cd vidsrc-api-js`
|
|
3. `npm install`
|
|
4. `npm run main`
|
|
|
|
or you can deploy to vercel using the button below:
|
|
|
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FInside4ndroid%2Fvidsrc-api-js)
|