Skip to content

IAH: INTERNET WAR | SINGLEPLAYER AI API

Vitali Kirpu edited this page Aug 28, 2023 · 20 revisions

IAH: INTERNET WAR | SINGLEPLAYER AI API

Default API Endpoint: http://127.0.0.1:6800/[request_name]

Requests

/v1/playerstate

GET Returns back string that represents Game Player State.

  • STARTING
  • LOADING
  • MAIN_MENU_INTRO
  • MAIN_MENU
  • MODE_SELECTION
  • HACKER_SELECTION
  • HACKER_SELECT
  • SANDBOX
  • INGAME
  • TPSCREEN
  • GAMEOVER

POST Transition the Game Player to a certain State. {transition,transitionValue}

Transitions are needed when you want to navigate the main menus. For example, {"transition", "MAIN_MENU"} or to select ScriptKiddie {"transition", "HACKER_SELECT", "transitionValue", 0}

/v1/tpscreen

/v1/tiles

/v1/grid

/v1/entities

/v1/raycast

/v1/cpubusy

/v1/time

/v1/system

/v1/apipassword

/v1/botaction

/v1/tileaction

/v1/frameworkaction

/v1/buffer

/v1/levelup

Clone this wiki locally