response by zipcode & in jason format

Tagged:

Currently contains 2 posts

Avatar

July 10, 2015 12:51

Nikhil Wadke

Hi,

I searched documentation but didn’t find to get response by zipcode and in jason i? Please provide sample url/example.
Reply ASAP because I need to finalize weather web service for my project.

- Nikhil.

Avatar

July 15, 2015 15:48

John Armstrong

Hi,

You can query the service by zip code. an example would be:

api/trigger/us.33109/past yesterday temperature.avg gt 10

You can find out more about the location parameter at: https://developer.weatherunlocked.com/components#Location

On the trigger the the format by default is json. For the local weather api you need to set the http accept header to text/xml or application/json

Hope this helps, regards.

Reply to thread
  1. If you're human, leave this field empty.