x
Yes No
Do you want to visit DriveHQ English website?
CameraFTP Support Forum \
Reply
Read/Reply : 10301/1

 Hi, 

I am following the "API to Get More Image URLs of a Published Camera and Embed in Your Web Pages" and have tried your example, replaced with my publish details, but when I change the index to 1,2 etc the image does not change. Do you know what I am doing wrong?

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID12270928/index0


3/15/2021 1:18:54 AM

The index number was originally designed for extracting an image from one video clip or one zip file (of multiple images). If your camera uploads images at a frequency lower than 1 image/minute, then it will not work. We will improve it in the near future.

For now, you can use the time parameter of the API to get other images, e.g., you can use: ( “%20” is the encoded space character)

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID*********/?time=2021-03-16%2001:01:02

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID*********/?time=2021-03-13%2001:01:02

 

If you just want to display a camera in your web page, you can directly embed our camera viewer in your web page


Reply
3/17/2021 9:52:47 AM

Quickly Reply
Top

Please logon and reply, Not CameraFTP Member?