New on Netflix

New on Netflix · Ações GPT

Flixable API

An API for accessing movies and shows on Flixable.

  • GET /api.phpGet movies and shows

    Retrieve a list of movies and shows from Flixable.

Esquema API original
{
  "openapi": "3.0.0",
  "info": {
    "title": "Flixable API",
    "version": "1.0.0",
    "description": "An API for accessing movies and shows on Flixable."
  },
  "servers": [
    {
      "url": "https://flixable.com"
    }
  ],
  "paths": {
    "/api.php": {
      "get": {
        "summary": "Get movies and shows",
        "description": "Retrieve a list of movies and shows from Flixable.",
        "operationId": "getMoviesAndShows",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "The number of movies/shows to return (e.g., 10).",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "The type of content to return (either \"movie\" or \"show\").",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "movie",
                "show"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The unique identifier of the movie/show."
                          },
                          "title": {
                            "type": "string",
                            "description": "The title of the movie/show."
                          },
                          "synopsis": {
                            "type": "string",
                            "description": "A brief synopsis of the movie/show."
                          },
                          "year": {
                            "type": "integer",
                            "description": "The release year of the movie/show."
                          },
                          "runtime": {
                            "type": "integer",
                            "description": "The duration of the movie/show in minutes."
                          },
                          "cast": {
                            "type": "string",
                            "description": "The cast members of the movie/show."
                          },
                          "director": {
                            "type": "string",
                            "description": "The director(s) of the movie/show."
                          },
                          "page": {
                            "type": "string",
                            "format": "uri",
                            "description": "The URL to the movie/show's page."
                          },
                          "box_art": {
                            "type": "string",
                            "format": "uri",
                            "description": "The URL to the box art image."
                          },
                          "original": {
                            "type": "integer",
                            "description": "Indicates whether the content is original (0 for no, 1 for yes)."
                          },
                          "maturity_rating": {
                            "type": "string",
                            "description": "The maturity rating of the movie/show."
                          },
                          "maturity_description": {
                            "type": "string",
                            "description": "A description of the maturity rating."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  }
}