Skip to content

l2radamanthys/wheaterlink-v2-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wheaterlink V2 API

Unoficial Wheaterlink V2 API Client

Usage:

from wheaterlink import WLClient

client = WLClient(api_key, api_secret)

stations = client.get_stations()

station_id = 129681
start = datetime.datetime.strptime("20/02/2022 00:00:00", "%d/%m/%Y %H:%M:%S")
end = start + relativedelta(days=1)

data = client.get_historic(station_id, start, end)

Availabled method list:

Methadata

  • WLClient.get_stations(raw_content=False)
  • WLClient.get_sensors(raw_content=False)
  • WLClient.get_sensor_activity(raw_content=False)
  • WLClient.get_sensor_catalog(sensor_type=None, raw_content=False)

Wheather Data

  • WLClient.get_historic(station_id, start, end, raw_content=False)

About

Unoficial Wheaterlink API client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published