-
Notifications
You must be signed in to change notification settings - Fork 104
Collections
getDetails(options, parameter1, parameter2)
This method allows you to get the basic collection information for a specific collection id, it accepts three parameters, the first one must be an object that must have a collection id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.
See the allowed options here.
Call the method:
theMovieDb.collections.getDetails({"id": 10}, successCB, errorCB);
getImages(options, parameter1, parameter2)
This method allows you to get all of the images for a particular collection by collection id, it accepts three parameters, the first one must be an object that must have a collection id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.
See the allowed options here.
Call the method:
theMovieDb.collections.getImages({"id": 10}, successCB, errorCB);
getTranslations(options, parameter1, parameter2)
This method allows you to get all of the translations for a particular collection by collection id, it accepts three parameters, the first one must be an object that must have a collection id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.
See the allowed options here.
Call the method:
theMovieDb.collections.getTranslations({"id": 10}, successCB, errorCB);