GetSubtitle

From Gvp-public
Revision as of 12:47, 18 June 2014 by Rcalvo (talk | contribs) (Created page with "{{Api_Method_Spec| Description=Returns the subtitle object with all text part and his respective time to be showed. The method can be used by logged or anonymous user. |Para...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Returns the subtitle object with all text part and his respective time to be showed.

The method can be used by logged or anonymous user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • movieId (int, required)
The id of the Movie that wants to retrieve the subtitle object.
  • subtitleId (int, required)
The id of the Movie that wants to retrieve the subtitle object.


Returns

Returns a JSON object containing a SubtitleJSON in JSON format.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
[ Array of SubtitleJSON 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