Skip to content
jeffreyspaan edited this page Aug 20, 2018 · 5 revisions

getById(options, parameter1, parameter2)

This method allows you to get the basic information about a network, it accepts three parameters, the first one must be an object that must have a movie 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.networks.getById({"id":49}, successCB, errorCB)

getAlternativeNames(options, parameter1, parameter2)

This method allows you to get the alternative names of a network, it accepts three parameters, the first one must be an object that must have a movie 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.networks.getAlternativeNames({"id":49}, successCB, errorCB)

Clone this wiki locally