Client implementation for open-meteo
Project description
jetblack-open-meteo
A client API for open-meteo.
Status
This is work in progress.
Usage
Rather than provide a client, this library provides the url and params.
This means you can use the http library of you choice.
For example with requests:
import pandas as pd
import requests
from jetblack_open_meteo import prepare_weather_forecast_request
url, params = prepare_weather_forecast_request(
(51.50242846391432, -0.1423227420691731),
hourly=['temperature_2m'],
)
# Use requests to get the data.
response = requests.get(url, params=params)
data = response.json()
df = pd.DataFrame(data['hourly'])
print(df)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jetblack_open_meteo-1.0.0a0.tar.gz.
File metadata
- Download URL: jetblack_open_meteo-1.0.0a0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1175d3e176195b40c7b15262385bad246d13da114509fc2b82f55caf613155d8
|
|
| MD5 |
1c8eb81c78c5ba4bf9af740cec944996
|
|
| BLAKE2b-256 |
32ffc0c6be385f62c167590101e54517210b18c03dcce21e4278eca2c42d0bce
|
File details
Details for the file jetblack_open_meteo-1.0.0a0-py3-none-any.whl.
File metadata
- Download URL: jetblack_open_meteo-1.0.0a0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db0b542779bb8efc2e69e5dc8838967bde3d4b59d2d54e783d4bd9822824b1d4
|
|
| MD5 |
3fcc2e76c5c1f94457740f92a412f655
|
|
| BLAKE2b-256 |
d92368ccae716958739a98aff56f2ec626e0af99ee8460db545960974c44b21c
|