scripting:restapi
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
scripting:restapi [2022/08/25 14:26] – created jerryhopper | scripting:restapi [2022/08/25 15:35] (current) – jerryhopper | ||
---|---|---|---|
Line 8: | Line 8: | ||
**Description: | **Description: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Common usage ===== | ||
+ | |||
+ | The restAPI allows interaction with external webresources in JSON format. | ||
+ | |||
+ | Typical usage : statistics/ | ||
+ | |||
+ | GetGame().GetRestApi().GetContext(" | ||
+ | |||
+ | |||
+ | |||
+ | --- | ||
+ | |||
+ | |||
+ | ===== Functions ===== | ||
+ | |||
+ | ==== GetContext(); | ||
+ | |||
+ | GetContext(string serverURL);; | ||
+ | |||
+ | Return type: [[scripting: | ||
+ | |||
+ | |||
+ | |||
+ | ==== GetContextCount(); | ||
+ | |||
+ | GetContextCount(string serverURL);; | ||
+ | |||
+ | Return type: [[scripting: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== DebugList(); | ||
+ | |||
+ | DebugList(); | ||
+ | |||
+ | Return type: [[scripting: | ||
+ | |||
scripting/restapi.1661434019.txt.gz · Last modified: 2022/08/25 14:26 by jerryhopper