Skip to main content

Postman examples

It is possible to use Postman to import the API Specification and browse through the various examples available.
To import the API specification into Postman, first you need to create a workspace. To create a Workspace in Postman follow the instructions on the following page.

Once you have created your Workspace, the next step is to import the API Specification file you just downloaded as a Postman collection.

API Spec import

The next step is to add a valid API key to the collection you just imported.

info

You need an active GameAnalytics Pro or Datasuite subscription to access the Metrics API

Once you’ve generated a Metrics API key, navigate back to Postman, and set up the API Key.
For ease of use you can add this as a global variable.

Key global variable

Once the key is set up, you can browse through the different metric examples.
One last thing to keep in mind is to change the body of the requests to include a different date range.

Date range

Once that is done, the final step is to run the request, which will output a response with the data you've queried.