
The callback function accepts two arguments error and response.

Accepts the following configuration options: The supported locales depend on which origin is used, and when no locale is supplied the API will default to the primary language of that region.Ĭonfig: Optional. This localizes the returned results to the specified language. The supported origins depends on the game you are requesting data for. This indicates which regional API endpoint to use and will match the region in which the user plays. ALL API methods will accept an origin and locale.

The individual per-method parameters can be found in the overview.
