VGA Planets

Introduction

How The Website Works

Races

Dashboard

Starmap

Planets

Starships

General Information

Guides

Contributions

Searchable Documentation

API game loadturn


Main Documentation —> Website —> API —> API game loadturn

This page is a work in progress. It is incomplete and probably contains errors.

Overview of /game/loadturn call

The /game/loadturn API call is used to get the turn file a specific game/turn/user.

This API call may, or may not, require an apikey, depending on whether or not the game has completed.

Data sent

Data Description
gameid Gameid number
playerid Player slot number
turn Turn number - This defaults to the last turn.
apikey Requester's API Key, as received from the /account/login API. This is required for games that haven't completed.

Data returned

table here ...


Notes


Failures

failure messages here ...



Back