Skip to content

raffyxyz/movie-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

movie-api

A free api that scrapes movie data from myflixer.to

Table of contents

Usage

Use the deployed api

Deployed api

https://myflixer-video-api.cyclic.app/

Or clone the repository so you can host it locally or deploy it for personal use.

git clone https://github.com/raffyamoguis/movie-api.git
npm install
npm start || npm run dev

Routes

Search Movie

https://myflixer-video-api.cyclic.app/search?keyw=SearchTerm

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Trending movies

https://myflixer-video-api.cyclic.app/trending-movies

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Trending tv shows

https://myflixer-video-api.cyclic.app/trending-tv

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Latest Movies

https://myflixer-video-api.cyclic.app/latest-movies

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Latest TV Shows

https://myflixer-video-api.cyclic.app/latest-tv

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Coming Soon Movies

https://myflixer-video-api.cyclic.app/coming-movies

Output >>>

[
    {
        "name": "",
        "poster": "",
        "link": "",
        "quality": "",
        "year": "",
        "duration": "",
        "type": ""
    }
]

Get Movies By Genre

-Page query is optional if the result have more than one page.

https://myflixer-video-api.cyclic.app/genre/:genre?page=1

Output >>>

[
    "totalpage": (int)total pagination number,
    "data": [
        {
            "name": "",
            "poster": "",
            "link": "",
            "quality": "",
            "year": "",
            "duration": "",
            "type": ""
        }
    ]
]

Get Movies By Country

-Page query is optional if the result have more than one page.

https://myflixer-video-api.cyclic.app/country/:country?page=1

Output >>>

{
    "country": "Australia",
    "totalpage": 31,
    "data": [
        {
            "name": "Sissy",
            "poster": "https://img.myflixer.to/xxrz/250x400/201/e8/27/e827945c9134a698a992da69549317d0/e827945c9134a698a992da69549317d0.jpg",
            "link": "sissy-88678",
            "quality": "HD",
            "year": "2022",
            "duration": "102m",
            "type": "Movie"
        },
    ],
}

Get Movies Info

https://myflixer-video-api.cyclic.app/movie/:moviename

Output >>>

{
    "name": "",
    "poster": "",
    "imdb": "",
    "plot": "",
    "released": "",
    "genre": "",
    "casts": "",
    "duration": "",
    "country": "",
    "production": ""
}

Get TvShow Info

https://myflixer-video-api.cyclic.app/tv/:tvshowname

Output >>>

{
    "name": "",
    "poster": "",
    "imdb": "",
    "plot": "",
    "released": "",
    "genre": "",
    "casts": "",
    "duration": "",
    "country": "",
    "production": ""
}

Development

Routes that in development

  1. getDownloadLink
  2. getStreamingUrlByProvider

Im working hard to publish this feature soon :)