How do I show real time temperature of current location ?

0 favourites
  • 4 posts
From the Asset Store
An educational game for Times Table. An easy to use template for developers to build larger games
  • Hi Friends,

    Can anyone please guide me How do I show real time temperature of current location ?

    Regards,

  • jatin1726

    probably not very easy to do...

    my guess is that you would have to use the Geolocation plugin to get the user's location, build a request string to send to one of the weather APIs using AJAX and then parse the response. (some return XML or jSON)

    You would have to set up an account at one of the weather APIs - some are free but limit the number of requests you can make, others are a paid service.

    get your API keys, some make you whitelist your app - which can take days. Generate an oauth signature...

    The only thing similar I have done is use the google maps api to get mileage between two addresses. It was for a business app used at the company I work for and only used by a few people, so I didn't have to worry about limits and commercial restrictions.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Friend,

    Thanks a lot for sharing the reply. But i am not so advanced in using api and ajax calls. Can u help me out how to do this complex work using construct 2?

    Regards,

  • Any help please?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)