Skip to content

zakimuhd0/demo-movie-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

Movie api using MySQL as database

Built With

API Documentation

Tv

  1. /tv

    output
    {
      "data": [
        {
          "id": 1,
          "title": "Title 1",
          "poster_path": "https://dummyimage.com/600x900/000/fff.jpg&text=1",
          "tv_genre_ids": [
            {
              "id": 2,
              "name": "Genre 2"
            }
          ],
          "tv_country_ids": [
            {
              "id": 1,
              "name": "Country 1"
            }
          ]
        },
        ...
        ..
        .
      ],
      "total_pages": 5,
      "total_items": 49,
      "current_page": 1
    }
    
  2. /tv/{id}

    output
    {
      "id": 1,
      "title": "Title 1",
      "overview": "Overview 1",
      "first_air_date": "11/11/2011",
      "last_air_date": "12/12/2012",
      "poster_path": "https://dummyimage.com/600x900/000/fff.jpg&text=1",
      "backdrop_path": "https://dummyimage.com/1920x1080/000/fff.jpg&text=1",
      "tv_genre_ids": [
        {
          "id": 2,
          "name": "Genre 2"
        }
      ],
      "tv_country_ids": [
        {
          "id": 1,
          "name": "Country 1"
        }
      ],
      "season": []
    }
    

Movie

  1. /movie

    output
    {
      "data": [
        {
          "id": 1,
          "title": "Title 1",
          "poster_path": "https://dummyimage.com/600x900/000/fff.jpg&text=1",
          "movie_genre_ids": [
            {
              "id": 2,
              "name": "Genre 2"
            }
          ],
          "movie_country_ids": [
            {
              "id": 2,
              "name": "Country 2"
            }
          ]
        },
        ...
        ..
        .
      ],
      "total_pages": 5,
      "total_items": 49,
      "current_page": 1
    }
    
  2. /movie/{id}

    output
    {
      "id": 1,
      "title": "Title 1",
      "overview": "Overview 1",
      "release_date": "11/11/2011",
      "poster_path": "https://dummyimage.com/600x900/000/fff.jpg&text=1",
      "backdrop_path": "https://dummyimage.com/1920x1080/000/fff.jpg&text=1",
      "movie_genre_ids": [
        {
          "id": 2,
          "name": "Genre 2"
        }
      ],
      "movie_country_ids": [
        {
          "id": 2,
          "name": "Country 2"
        }
      ]
    }
    

Contact

Muhammad Zaki - https://www.facebook.com/znphc/

About

Movie api using MySQL as database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages