No image found in API response.
-
Hello Windy team,
I am currently using the Windy API to integrate webcam images into my website hosted on Wix. The API call successfully retrieves data about the webcam, but the images object in the response seems incomplete or unavailable. Here are the details:
Problem Description:
I am using the endpoint:ruby
Copy code
https://api.windy.com/webcams/api/v3/webcams/1261059416?lang=en&include=images
with the correct API key in the headers.The API response includes information about the webcam, such as title, status, and view count, but the images object does not contain the current.preview URL for the webcam image. Here’s a sample of the response I am getting:
json
Copy code
{
"webcamId": 1261059416,
"title": "Finsterau: bei Langlaufstadion",
"status": "active",
"viewCount": 32192,
"images": {
"current": {},
"daylight": {}
}
}
Despite including images in the query parameters, the current.preview or any similar key with an image URL is not present.I have verified that the webcam is active and correctly identified. When I visit the webcam page on Windy.com, I can see the image, so I assume the data exists but isn’t being returned via the API.
Steps Taken:
Verified the API key and domain restrictions in the API dashboard. My domain is authorized.
Used both lang=en and include=images in the query string.
Tried other webcams, and the issue persists.
Question:
How can I retrieve the current.preview or similar URL for the webcam image via the API? Is there a known limitation for this specific webcam or the API functionality in general?Thank you for your help!