jdemaeyer / brightsky

JSON API for DWD's open weather data.
https://brightsky.dev/
MIT License
287 stars 18 forks source link

`/current_weather` does not accept `source_id` #126

Closed jdemaeyer closed 1 year ago

jdemaeyer commented 2 years ago

https://api.brightsky.dev/current_weather?source_id=11695 returns code 400.

Either change the endpoint or change the docs

TurboDuke77 commented 2 years ago

yes Demo site says "To set the location for which to retrieve records (and/or forecasts), you must supply both lat and lon or one of dwd_station_id, wmo_station_id, or source_id."

only works with lat/lon for me.

hoetzgit commented 1 year ago

Is there any progress yet in correcting this error?

jdemaeyer commented 1 year ago

Not yet, but we are entering another funding (read: active development) period the day after tomorrow and I plan to tackle some low-hanging fruit like this issue first, so expect an update within the next two weeks!

jdemaeyer commented 1 year ago

Fix will probably land in our public instance later this week. :)

Note that only sources with observation_type: 'synop' will yield any data for the current_weather endpoint.