GetGenreSimpleMovies

From Gvp-public
Jump to navigation Jump to search

Warning.png

This method has been deprecated in GVP 3.2. Please use SearchContent instead


Description

Get all movies that contains in a specific genre by one genreId.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • offset (int, optional)
The offset number of the returned values for this request
  • limit (int, optional)
The limit number of values for this request
  • genreId (int, required)
Id of the Genre would to request the data.
  • includeChildMovies (bool, optional)
Include or not all channel children movies.
  • typeFilter (String, optional)
MovieType enum to filter the result required.
  • adultFilter (String, optional)
AdultFilterType enum to filter the result required. The default value to Adult filter is All.
  • sort (int, optional)
MovieSortType enum to order the result required. the default sort type is ReleaseDate.


Returns

Returns a JSON object containing an array of Simplified Movie list.

Example:

{

"Offset": 0,
"Limit": 100,
"Count": 6,
"List":
[ Array of Movie objects ]

}


Exceptions

None


Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also