Scrambled Nations API

Principles

Protocol

  1. Request a token using the request_token method. The token lives for 1 hour.
  2. Add a token parameter to any method with the hash given by request_token.

Methods

request_token

get_game

get_current_game

get_last_game

get_world

get_territory

get_last_player_diplomacy_list

change_diplomacy_status

ready

notready

get_game_player_list

get_territory_summary

get_territory_status_list

get_territory_player_troops_list

get_player_history_list

get_shout_list

get_territory_owner

get_territory_is_contested

get_territory_is_capital

get_territory_neighbour_list

get_territory_list

move_troops

give_troops

give_tribute

change_capital

quit_game

get_planned_orders

cancel_order