VGA Planets

Introduction

How The Website Works

Races

Dashboard

Starmap

Planets

Starships

General Information

Guides

Contributions

Searchable Documentation

API game loadall


Main Documentation —> Website —> API —> API game loadall

Overview of /game/loadall call

The /game/loadall API call is used to get a ZIP archive containing all of the turns of a completed game, except the very last turn of a game. The equivalent of using loadturn in bulk, but in a much more efficient manner.

Data sent

Data Description
gameid Gameid number

Data returned

If successful, this API call returns a ZIP archive containing a collection of turns from the completed game. (Example: game23864.zip )


Failures

{"success":false,"error":"gameid is required"}

{"success":false,"error":"game not finished"}


Back