home-assistant-ecosystem / python-luftdaten

Python API for interacting with luftdaten.info
MIT License
5 stars 9 forks source link

Change API endpoint URL for requesting sensor data #7

Closed mattsches closed 4 years ago

mattsches commented 4 years ago

If I understand the documentation at https://github.com/opendata-stuttgart/meta/wiki/APIs correctly, the recommended API endpoint for requesting sensor data should now be https://data.sensor.community/ instead of the original https://api.luftdaten.info/

Since the latter is hardcoded in this library, it should probably be updated/changed. What do you think?

fabaff commented 4 years ago

Make sense to change to new URL.

linuxlurak commented 4 years ago

Was there another change? I think "https://api.sensor.community/v1/" is the newest URL. This change broke the home assistant luftdaten component too I guess... It's not working since two weeks or so. Should I open a ticket here https://github.com/home-assistant/core/tree/dev/homeassistant/components/luftdaten ?