Accueil > API

API

Cineserie API

Overview

The Cineserie API allows developers to interact with Cineserie via HTTP requests. The output in JSON format.

Requests

URL Format

Requests should use the HTTP GET method. The format of the URL for making requests is:

http://services.cineserie.com/v1/{method}/{resource}?[{name=value}…]

{method} suported methods are:

search

{resource} is the type of of product. Supported types are:

movies

series

{name=value} are the URL query parameters passed to the API. Each method may support zero or more query parameters specific to the method.

Resources

Movies

Resource Name

/search/movies

Description

Returns a list of movies that matches the search criteria.

Required Parameters

  q the title of the movie with a minimium of 3 characters.

  release_date in format YYYY-MM-DD.

Example Request

http://services.cineserie.com/v1/search/movies? 

q=batman&release_date=2016-03-23

Series

Resource Name

/search/series

Description

Returns a list of series that matches the search criteria.

Required Parameters

 q the title of the serie with a minimium of 3 characters.

Example Request

http://services.cineserie.com/v1/search/series?q=The 

%20Walking%20Dead

Response

The response is a list of movies or series that matches the search criteria. For each item is provided a title, the url for the cineserie page and a list of trailers if exists.