Api session items weathers: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
==Limit Queries==
==Limit Queries==
version=100:  
version=100:  
<pre>https://engine.tygron.com/api/session/items/weathers/?version=100&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?version=100&token=API_TOKEN</syntaxhighlight>
==Show Queries==
==Show Queries==
max version:  
max version:  
<pre>https://engine.tygron.com/api/session/items/weathers/version/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/version/?token=API_TOKEN</syntaxhighlight>
size:  
size:  
<pre>https://engine.tygron.com/api/session/items/weathers/size/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/size/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=HTML&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=HTML&token=API_TOKEN</syntaxhighlight>
JSON:  
JSON:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKEN</syntaxhighlight>
CSV:  
CSV:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=CSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=CSV&token=API_TOKEN</syntaxhighlight>
SSV:  
SSV:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=SSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=SSV&token=API_TOKEN</syntaxhighlight>
SMILE:  
SMILE:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=SMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=SMILE&token=API_TOKEN</syntaxhighlight>
ZIPJSON:  
ZIPJSON:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=ZIPJSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight>
ZIPSMILE:  
ZIPSMILE:  
<pre>https://engine.tygron.com/api/session/items/weathers/?f=ZIPSMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/weathers/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
{{article end|seealso=*[[Api Content Items]]
{{article end|seealso=*[[Api Content Items]]
*[[Api session event editor weather]]
*[[Api session event editor weather]]

Revision as of 12:31, 10 April 2026

Api session items Weather Endpoints.

Edit items with event: editorweather.

Default Query:

https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKEN

Example Response:

[ {
  "attributes" : {
    "EVAPORATION_M" : [ 7200.0, 1.25E-4 ],
    "RAIN_M" : [ 3600.0, 0.03, 7200.0, 0.0 ]
  },
  "durationInSecs" : 10.0,
  "effect" : "RAIN",
  "floodOverlayID" : -1,
  "floodingM" : 5.0,
  "id" : 0,
  "maquetteOverride" : null,
  "name" : "Rain",
  "triggerSec" : -1.0,
  "version" : 1
} ]

Limit Queries

version=100:

https://engine.tygron.com/api/session/items/weathers/?version=100&token=API_TOKEN

Show Queries

max version:

https://engine.tygron.com/api/session/items/weathers/version/?token=API_TOKEN

size:

https://engine.tygron.com/api/session/items/weathers/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/weathers/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/weathers/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/weathers/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/weathers/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/weathers/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/weathers/?f=ZIPSMILE&token=API_TOKEN