Registry / http-networking / weatherlink-v2-api-sdk

weatherlink-v2-api-sdk

JSON →
library1.0.0pypypiunverified

Python SDK for the WeatherLink v2 API, providing access to weather station data. Current version is 1.0.0, released as the initial stable version. The SDK supports API authentication via API key and signature, and includes endpoints for current conditions, historical data, and station info. Release cadence is unknown; this is the first release.

pip install weatherlink-v2-api-sdk
INSTALL
IMPORT
SIG · WEATHERLINK-V2-API
W
weatherlink-v2-api-sdk
http-networkingpythonv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WeatherLinkAPI
from weatherlink_v2_api_sdk import WeatherLinkAPI
from weatherlink_v2 import WeatherLinkAPI

Initialize the API client with credentials and fetch list of stations.

from weatherlink_v2 import WeatherLinkAPI api = WeatherLinkAPI( api_key=os.environ.get('WL_API_KEY', ''), api_secret=os.environ.get('WL_API_SECRET', '') ) stations = api.get_stations() print(stations)
Debug
Known issues
deprecatedThe library requires Python 3.0 or higher; Python 2 is not supported.
fix
Use Python 3.0+ and install the latest version.
affects: <1.0.0
gotchaAPI authentication requires both api_key and api_secret. Omitting one will result in 401 errors.
fix
Ensure both environment variables (WL_API_KEY and WL_API_SECRET) are set.
affects: all
gotchaThe SDK uses a signature-based authentication that may fail if system clock is not synchronized with NTP.
fix
Synchronize system time using NTP to avoid signature expiration errors.
affects: all
Upgrade
Version history
1.0.0latest on PyPI · released Nov 2, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
weatherlink-v2-api-sdk — pip install weatherlink-v2-api-sdk · libregistry