Api session items weathers
Jump to navigation
Jump to search
Api session items Weather Endpoints.
Edit items with event: editorweather.
Default Query:
https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKENExample 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_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/weathers/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/weathers/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/weathers/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/weathers/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/weathers/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/weathers/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/weathers/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/weathers/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/weathers/?f=ZIPSMILE&token=API_TOKENApi Model Weather
API Model description of Weather
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| durationInSecs | double | |
| effect | WeatherTypeEffect | |
| floodingM | double | |
| floodOverlayID | int | Overlay ID |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| triggerSec | double | |
| version | int |
Api Model WeatherTypeEffect
API Enumeration description of WeatherTypeEffect
| Name | Description |
|---|---|
| NO_EFFECT | |
| RAIN | |
| SNOW | |
| WIND | |
| DROUGHT | |
| FLOODING |