Movie API
1.0.0
Важный
Этот API основан на сайте 123MOVIES. Означает, что это API 123Movies.org.mx.
Для начала вы можете использовать следующие конечные точки:
Конечная точка: https://movie-api-ed63.onrender.com/api/get
Образец запроса:
const resp = await fetch ( "https://movie-api-ed63.onrender.com/api/get" ) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
Образец ответа:
{
"suggestionhomeMovie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/vkJE484VnRdilB9IgKNly7HIifR.jpg",
"type": "Saltburn",
"img": "HD",
"id": "saltburn/"
},
],
"latest": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
],
"tv": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/a2Ckhf72DfQKRNZpeECxyrqaIV3.jpg",
"type": "The Mire Season 2",
"img": "Eps 6",
"id": "the-mire-season-2/"
},
]
}
GET
Поиск фильма https://movie-api-ed63.onrender.com/api/search/ ${query_parameter} / ${page}
Параметр | Тип | Описание | Необходимый? | По умолчанию |
---|---|---|---|---|
query_parameter | нить | Название фильма | Да | -- |
page | интервал | ----- | Да | 1 |
const resp = await fetch ( "https://movie-api-ed63.onrender.com/api/search/Oppenheimer/1" ) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"pnex": "1",
"searchq": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg",
"type": "Oppenheimer",
"img": "HD",
"id": "oppenheimer/"
}
],
"searchk": null
}
Конечная точка
https://movie-api-ed63.onrender.com/api/genra/ ${genre_name} / ${pagee}
Параметр | Тип | Описание | Необходимый? | По умолчанию |
---|---|---|---|---|
genre_name | нить | Название жанра аниме. | Да | -- |
page | интервал | ------ | Да | 1 |
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/genra/drama/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"pnex": "»»",
"genram": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
]
Конечная точка
https://movie-api-ed63.onrender.com/api/movie/ ${id}
Параметр | Тип | Описание | Необходимый? | По умолчанию |
---|---|---|---|---|
id | нить | ------ | Да | -- |
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/movie/oppenheimer/"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"moviez": [
{
"name": "Oppenheimer",
"desc": "Watch Oppenheimer full movie online Movies123. Watch Oppenheimer 123movies online for free. Oppenheimer 123Movies: The story of J. Robert Oppenheimer's role in the development of the atomic bomb during World War II.",
"genre": "Drama, History",
"actors": "Cillian Murphy, Emily Blunt, Matt Damon, Robert Downey Jr., Florence Pugh, Josh Hartnett, Casey Affleck, Rami Malek, Kenneth Branagh, Benny Safdie, Jason Clarke, Dylan Arnold, Tom Conti, James D'Arcy, David Dastmalchian, Dane DeHaan, Alden Ehrenreich, Ton",
"director": "Director:Christopher Nolan",
"country": "Country:United Kingdom",
"type": "Quality:HD",
"releas": "Release: 2023 ",
"imdbRating": "IMDb: 8.1/10",
"keywords": null,
"bigbanner": "https://i1.wp.com/image.tmdb.org/t/p/w300/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg",
"id": null
}
],
"theid": "tt15398776",
"tthetv": "https://vidsrc.xyz/embed/movie?imdb=tt15398776",
"youMAYlike": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/vkJE484VnRdilB9IgKNly7HIifR.jpg",
"type": "Saltburn",
"img": "HD",
"id": "saltburn/"
},
]
Конечная точка
https://movie-api-ed63.onrender.com/api/showmovie/ ${query_paramenter} / ${page}
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/movies/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/tv-series/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/top-imdb/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
Параметр | Тип | Описание | Необходимый? | По умолчанию |
---|---|---|---|---|
query_parameter | нить | Аниме, которое вы хотите увидеть.. | Да | -- |
page | интервал | ----- | Да | 1 |
movie,tv-series,top imdb | нить | Аниме, которое вы хотите увидеть.. | Да | -- |
<----For Movie!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
]
<----For tv-SEries!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/a2Ckhf72DfQKRNZpeECxyrqaIV3.jpg",
"type": "The Mire Season 2",
"img": "EPS 6",
"id": "the-mire-season-2/"
},
]
<----For Top IMDb!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/oYuLEt3zVCKq57qu2F8dT7NIa6f.jpg",
"type": "Inception",
"img": "HD",
"id": "inception/"
},
]