Get Onboard Temperature and Humidity Data
# Get Onboard Temperature and Humidity Data
Path:
/api/board_sensor.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to get the onboard temperature and humidity data. If the player does not have onboard temperature and humidity components, the return is null.
Note: This function is available for players of version 1.69.9 or above and with onboard temperature and humidity components.
Response
Name | Type | Example | Description |
---|---|---|---|
humidity | float | 48.0 | Onboard humidity of the player. -1000 is an invalid value. |
temperature | float | 33.0 | Onboard temperature of the player. -1000 is an invalid value. |
Example
{
"humidity": 48.0,
"temperature": 33.0
}