Get current condition of wherei am using api url and Lat/longw

  • 1
  • Problem
  • Updated 1 year ago
  • (Edited)
I wokld like to use a valid api url that accep lat and long, but can't find models. In fact, i would like to get current condition of my current place. A weather based on every places where i can be...
I thank to use lat and long but maybe other suggestions?
Photo of alexia borelva

alexia borelva

  • 6 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of alexia borelva

alexia borelva

  • 6 Posts
  • 0 Reply Likes
Help please!
Photo of James Anding

James Anding

  • 53 Posts
  • 35 Reply Likes
I've done something like that in the past. The way to go would be use one of the Google Geo API calls to get your current position and your Latitude-Longitude. The google api would be the first code that runs on your app. You can use that information and feed it into the WU api by using either the city, state or the Latitude-Longitude it returns. Look at this url: https://developers.google.com/maps/documentation/geocoding/intro  Its not hard to do, but take a bit of java coding.  Doing this, you will always get the weather from wherever you are located. Good Luck. 
Photo of alexia borelva

alexia borelva

  • 6 Posts
  • 0 Reply Likes
Thank you, îve create an api but i don't know how to associate it with my wunderground api url...

Can iyou help me please?