====== RestApi====== **Class:** RestApi **Parent Class:** (?none?) **Location:** scripts/GameLib/generated/online/RestApi.c **Description:** RestAPI class. ===== Common usage ===== The restAPI allows interaction with external webresources in JSON format. Typical usage : statistics/leaderboards/persistent world. GetGame().GetRestApi().GetContext("https://some.url"); --- ===== Functions ===== ==== GetContext(); ==== GetContext(string serverURL);; Return type: [[scripting:restcontext]] ==== GetContextCount(); ==== GetContextCount(string serverURL);; Return type: [[scripting:int]] ==== DebugList(); ==== DebugList(); Return type: [[scripting:void]]