Helios Developers

Examples

Show the current image for a camera
Helios APIs: Cameras (Live)

We can retrieve the current image for a camera with a single request to the the Live method in the Cameras API, specifying the camera ID we are interested in. For example, to retrieve the current image for a camera whose IS is OKDOT-1393399957, our request lookslike this:

https://api.helios.earth/v1/cameras/OKDOT-1393399957/live

A successful response from the API will provide an image for this camera in JPEG format like the one shown above.

If you are retrieving imagery from the same camera multiple times, or at a set interval, it is possible that your client may cache the image from a previous request. To make sure that you are receiving the most recent image available from Helios, you can include a cache-buster query paramater with your request, setting the value to a a random or unique value such as the request time:

https://api.helios.earth/v1/cameras/OKDOT-1393399957/live?random=1405956092032