Skip to content

Commit

Permalink
API Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
themoosman committed Jun 19, 2024
1 parent 7e1093d commit 272132c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/user/ambientweatherapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(self, **stn_dict):
rainfile = "%s_%s_rain.txt" % (DRIVER_NAME, DRIVER_VERSION)
self.loop_interval = float(stn_dict.get('loop_interval', 60))
self.api_url = stn_dict.get('api_url', 'https://api.ambientweather.net/v1')
log.info('Using API Endpoint: %s' % str(self.api_url))
self.api_key = stn_dict.get('api_key')
self.api_app_key = stn_dict.get('api_app_key')
self.station_hardware = stn_dict.get('hardware', 'Undefined')
Expand Down

0 comments on commit 272132c

Please sign in to comment.