Methods

Methods

The client offers several methods to call the API client and perform actions.

Note: All examples shown are set in a Production environment.

Available methods

Usage

Using methods in the client is easy. Simply create a client, then use a method like this:

client.<method>();

Example

The following example will return a promise. When this promise is resolved, it will return an object with popular results:

var popular = client.getPopular();