Game API Documentation
Formats
The API can return information in different formats that can be defined by the developer.
To define which format to use, add a format parameter to the URL and set the value of the format
you'd like.
This function can be added to any API requests.
If you don't use the format parameter for a request URL, json will be used as the default
format.
| Name | Required? | Type | Description |
|---|---|---|---|
format |
No | string |
The format in which to return the response. |
Valid Values for format
| Value | Description |
|---|---|
| json | Returns data in the JSON format. |
| keypair | Returns data in the keypair format. |
| dump | Returns data in the Dump format. |
| xml | Returns data in the XML format. |
Example
https://api.gamejolt.com/api/game/v1_2/?format=json