Python Client libraries

Tagged:

Currently contains 3 posts

Avatar

June 26, 2014 16:16

scottw

We don’t have specific client libraries for the API but most languages easily support http calls.

I was asked specifically about Python and found this library which looks like a breeze to use:

http://www.python-requests.org/en/latest/user/quickstart

For example an api call would be:

>>> import requests
>>> r = requests.get(‘http://api.weatherunlocked.com/api/trigger/51.50,-0.12/current temperature gt 6’)
>>> r.json()

We will get language specific examples on the site as soons as we can.

In the meantime I hope this helps all you Python fans.

Scott

weatherunlocked.com

Avatar

June 30, 2014 10:26

scottw

Another Python example:

grumpybear.co has posted a script:

http://grumpybear.co/posts/2014/06/weather-unlocked-api/

Thanks to “grumpy bear” for the post (great blog name).

Scott

weatherunlocked.com

Avatar

June 13, 2019 01:10

Waldir Flores Campos

hello , i want to know if i can get the history in this API, similar to that :

http://api.wunderground.com/api/{}/history_{}/q/NE/Lincoln.json

thanks .

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