scripting:restapi
Table of Contents
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: restcontext
GetContextCount();
GetContextCount(string serverURL);;
Return type: int
DebugList();
DebugList();
Return type: void
scripting/restapi.txt · Last modified: 2022/08/25 15:35 by jerryhopper