Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Google Weather APIs - Not returning Data - Qt Quick2 QML
Forum Updated to NodeBB v4.3 + New Features

Google Weather APIs - Not returning Data - Qt Quick2 QML

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.7k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    LakshmiSaripella
    wrote on last edited by
    #1

    Exploring Google Weather APIs using "XmlListModel & XmlRole" for Current Weather, Weather Forecast. I'm trying to execute the sample app as mentioned in "QtQuickAppDevIntro.pdf". The downloaded code is used. However, I get to received NO DATA in response. The "http://www.google.com/ig/api?weather=Munich&hl=en" URL when given in browser is displaying below message instead of XML data.

    "We're sorry...
    ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now."

    How to proceed further?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LakshmiSaripella
      wrote on last edited by
      #2

      Further details says that "Unusual traffic from your computer network" notification What to do when Google detects automated queries on your network". Looks like it is looking for 'CAPTCHA' human request in place of this "automated traffic".

      Help please.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mosqa
        wrote on last edited by
        #3

        Google never had an official weather API, but one could retrieve it anyway. It looks like they changed there code so retrieving is impossible. You could screen scrape the weather using this online screens craper: http://scrape4me.com/
        Look at the examples, the first one is for google weather.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mosqa
          wrote on last edited by
          #4

          When scraping Google however you have to use rotating proxies or hide your IP address otherwise you will get a ban at IP level. That is what you are getting now.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved