{"id":27539,"library":"weatherlink-v2-api-sdk","title":"WeatherLink v2 API SDK","description":"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.","status":"active","version":"1.0.0","language":"python","source_language":"en","source_url":"https://github.com/weatherlink/weatherlink-v2-api-sdk-python","tags":["weather","api","sdk","weatherlink","v2"],"install":[{"cmd":"pip install weatherlink-v2-api-sdk","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"Correct import path as per SDK documentation.","wrong":"","symbol":"WeatherLinkAPI","correct":"from weatherlink_v2 import WeatherLinkAPI"}],"quickstart":{"code":"from weatherlink_v2 import WeatherLinkAPI\n\napi = WeatherLinkAPI(\n    api_key=os.environ.get('WL_API_KEY', ''),\n    api_secret=os.environ.get('WL_API_SECRET', '')\n)\nstations = api.get_stations()\nprint(stations)","lang":"python","description":"Initialize the API client with credentials and fetch list of stations."},"warnings":[{"fix":"Use Python 3.0+ and install the latest version.","message":"The library requires Python 3.0 or higher; Python 2 is not supported.","severity":"deprecated","affected_versions":"<1.0.0"},{"fix":"Ensure both environment variables (WL_API_KEY and WL_API_SECRET) are set.","message":"API authentication requires both api_key and api_secret. Omitting one will result in 401 errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Synchronize system time using NTP to avoid signature expiration errors.","message":"The SDK uses a signature-based authentication that may fail if system clock is not synchronized with NTP.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use from weatherlink_v2 import WeatherLinkAPI","cause":"Incorrect import path; using 'weatherlink' instead of 'weatherlink_v2'.","error":"ImportError: cannot import name 'WeatherLinkAPI'"},{"fix":"Check that WL_API_KEY and WL_API_SECRET environment variables are correctly set.","cause":"Missing or invalid API key/secret.","error":"HTTPError: 401 Client Error: Unauthorized"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}