List latest wildfire detections
GET
https://dev.breeze-technologies.de/api/v3/wildfires/detections/latest
Retrieves all wildfire detection measurements for all the sensors that your account has access to, going back up to a year.
- cURL
- Python
- Javascript
GET /api/v3/wildfires/detections/latest
curl -X GET 'https://dev.breeze-technologies.de/api/v3/wildfires/detections/latest' \
-d api_token=<YOUR_API_TOKEN>
GET /api/v3/wildfires/detections/latest
import requests
url = "https://dev.breeze-technologies.de/api/v3/wildfires/detections/latest"
params = {
"api_token": "<YOUR_API_TOKEN>"
}
response = requests.request("GET", url, params=params)
print(response.text)
GET /api/v3/wildfires/detections/latest
const axios = require("axios");
let config = {
method: "get",
maxBodyLength: Infinity,
url: "https://dev.breeze-technologies.de/api/v3/wildfires/detections/latest",
params: {
api_token: "<YOUR_API_TOKEN>",
},
};
axios
.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Parameters
| Name | Description | Type | Data type | |
|---|---|---|---|---|
| api_token | The current user's API token | query | string | Required |
Returns
A dictionary with a results property that contains an array of wildfire detections.
{
"results": [
{
"id": 193,
"device_id": 684,
"created_at": "2023-01-01T16:45:00.000Z",
"finished_at": "2023-01-01T16:45:00.000Z",
"confidence": "Medium",
"event_id": 100,
"is_correct": 1,
"notes": "Nemo cupiditate veritatis",
"wind_speed": 5,
"wind_direction": 45
},
{
"id": 771,
"device_id": 445,
"created_at": "2023-01-01T16:30:00.000Z",
"finished_at": "2023-01-01T16:30:00.000Z",
"confidence": "Medium",
"event_id": 100,
"is_correct": 0,
"notes": null,
"wind_speed": 5.3,
"wind_direction": 45
}
]
}