Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login
    1. Home
    2. fourtonfish
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    fourtonfish

    @fourtonfish

    2
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    fourtonfish Unfollow Follow

    Best posts made by fourtonfish

    • "No live camera feed at this time", plus a question about regions

      When using the Webcams API, the webcam 1562900176 returned an image that said "No live camera feed at this time".

      The status of the webcam was "active", is there a way to detect when no image is available?

      Also, an unrelated question, is there a list of all the supported regions without having to loop through the results of list?show=regions?

      posted in Webcams API
      F
      fourtonfish
    • RE: "No live camera feed at this time", plus a question about regions

      @Korina Thank you!

      @marekd

      Unfortunately the error message is returned as the image of the webcam. Currently, we are not able to detect if the image is a real image or error image.

      Ah, that makes sense, thank you!

      As for the support regions, would you maybe consider adding the full list to your documentation?

      I'm looking at the list?show=regions endpoint and it shows 31,055 entries, which is a lot to loop through.

      For some context, I made a starter project for creating Twitter bots that post images from public webcams: https://nycviewsbot.glitch.me/

      Right now the tutorial suggests to use lat/long, but using a specific region would be more accurate.

      The project is aimed at less technical folks, so suggesting to loop through 31k+ records to find your location isn't a great option.

      posted in Webcams API
      F
      fourtonfish

    Latest posts made by fourtonfish

    • RE: "No live camera feed at this time", plus a question about regions

      Okay, I think I misunderstood the the response data. I'm guessing total refers to the total number of webcams, and the regions field lists all of the available regions. In which case, this is definitely enough.

      posted in Webcams API
      F
      fourtonfish
    • RE: "No live camera feed at this time", plus a question about regions

      *supported regions

      No edit button for me I guess 🙃

      posted in Webcams API
      F
      fourtonfish
    • RE: "No live camera feed at this time", plus a question about regions

      @Korina Thank you!

      @marekd

      Unfortunately the error message is returned as the image of the webcam. Currently, we are not able to detect if the image is a real image or error image.

      Ah, that makes sense, thank you!

      As for the support regions, would you maybe consider adding the full list to your documentation?

      I'm looking at the list?show=regions endpoint and it shows 31,055 entries, which is a lot to loop through.

      For some context, I made a starter project for creating Twitter bots that post images from public webcams: https://nycviewsbot.glitch.me/

      Right now the tutorial suggests to use lat/long, but using a specific region would be more accurate.

      The project is aimed at less technical folks, so suggesting to loop through 31k+ records to find your location isn't a great option.

      posted in Webcams API
      F
      fourtonfish
    • "No live camera feed at this time", plus a question about regions

      When using the Webcams API, the webcam 1562900176 returned an image that said "No live camera feed at this time".

      The status of the webcam was "active", is there a way to detect when no image is available?

      Also, an unrelated question, is there a list of all the supported regions without having to loop through the results of list?show=regions?

      posted in Webcams API
      F
      fourtonfish