Simple Python WeatherKit REST API Wrapper

Hi All,

I started a simple wrapper for WeatherKit's REST API in Python. You can find it here: https://github.com/davecom/PyWeatherKit

Right now it's extremely rudimentary. It can just produce a correct authentication token and retrieve a dictionary of weather data for some latitude/longitude. That's really all I need. But I thought I would put it out there incase others are interested and we can then maybe make the results more Pythonic.

Cheers.

Post not yet marked as solved Up vote post of davecom Down vote post of davecom
1.7k views

Replies

6 months later, you pointed me in the right direction. I was banging my head into the wall trying to code this in PHP, got Forbidden error code all the time and I was wondering if I got my keys wrong. Using your code, everything works as expected, so I can now discard wrong keys as the problem. Thank you!