mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 09:35:11 +00:00
added new provider route and updated readme
This commit is contained in:
@@ -1,25 +1,72 @@
|
||||
### USAGE
|
||||
- base url:
|
||||
https://your-vercel-domain
|
||||
# Unoffical Vidsrc API! 👋
|
||||
## Sponsorship / Donations
|
||||
|
||||
- endpoint:
|
||||
- `/vidsrc/{tmdb_id}`
|
||||
Your sponsorship is vital in helping me achieve this mission. With your support, I can:
|
||||
|
||||
- parameters:
|
||||
- `s` - season (series only)
|
||||
- `e` - episodes (series only)
|
||||
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.
|
||||
|
||||
### EXAMPLE MOVIE
|
||||
[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
|
||||
```
|
||||
https://your-vercel-domain/vidsrc/916224
|
||||
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)
|
||||
```
|
||||
|
||||
### EXAMPLE SHOW
|
||||
## Providers
|
||||
|
||||
The providers are currently :
|
||||
|
||||
```
|
||||
https://your-vercel-domain/vidsrc/1429?s=1&e=1
|
||||
vidsrc
|
||||
asiaheroku
|
||||
```
|
||||
|
||||
### Vercel
|
||||
Host your own instance of vidsrc-api on Vercel using the button below.
|
||||
## 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)
|
||||
|
||||
Reference in New Issue
Block a user