Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

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

    Webcams API
    5
    8
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fourtonfish
      last edited by

      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?

      ? KorinaK 2 Replies Last reply Reply Quote 1
      • marekdM
        marekd Administrator
        last edited by

        @fourtonfish Hello, the complete documentation is here: https://api.windy.com/webcams/docs
        If you cannot find a way how to achieve what you need, I am affraid there is no any "secret" way how to that.

        The webcam you mentioned is not working even on our website: https://www.windy.com/webcams/1562900176
        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. The webcam stream we are using should return an error status code, but it does not :-(

        Anyway, thank you for reporting invalid webcam, I am sure @Korina will look at that :-)

        1 Reply Last reply Reply Quote 2
        • ?
          A Former User @fourtonfish
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • KorinaK
            Korina @fourtonfish
            last edited by Korina

            @fourtonfish
            Hi, I fixed the error with your camera image URL and it is live again - https://www.windy.com/it/-Webcam/Stati-Uniti-d'America/Stato-di-New-York/New-York/I-at-Stewart-Avenue/webcams/1562900176?40.714,-87.100,5

            Korina

            1 Reply Last reply Reply Quote 1
            • F
              fourtonfish
              last edited by

              @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.

              F 1 Reply Last reply Reply Quote 1
              • F
                fourtonfish @fourtonfish
                last edited by

                *supported regions

                No edit button for me I guess 🙃

                1 Reply Last reply Reply Quote 0
                • phonenumberP
                  phonenumber Banned
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • F
                    fourtonfish
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                    NodeBB & contributors, OSM & contributors, HERE maps
                    Terms of Use     Privacy Policy