Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunglung committed Nov 2, 2023
1 parent 4be30bb commit b38faf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/opencwb/core/commons/uris.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

ROOT_GEOCODING_API_URL = 'openweathermap.org/geo/1.0'
ROOT_GEOCODING_API_URL = 'opendata.cwa.gov.tw/api/v1/rest/datastore'
DIRECT_GEOCODING_URI = 'direct'
REVERSE_GEOCODING_URI = 'reverse'

2 changes: 1 addition & 1 deletion custom_components/opencwb/core/weatherapi12/uris.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-


ROOT_WEATHER_API = 'opendata.cwb.gov.tw/api/v1/rest/datastore'
ROOT_WEATHER_API = 'opendata.cwa.gov.tw/api/v1/rest/datastore'
OBSERVATION_URI = 'O-A0003-001'
GROUP_OBSERVATIONS_URI = 'O-A0001-001'
STATION_URI = 'station'
Expand Down

0 comments on commit b38faf1

Please sign in to comment.