matthewwall / weewx-owm

upload data to open weathermap
4 stars 2 forks source link

format STATION_ID #3

Open f4gqk opened 3 years ago

f4gqk commented 3 years ago

Hello,

I generated my owm file to make it work in weewx. https://github.com/weewx/weewx/wiki/openweathermap

[StdRESTful] [[OpenWeatherMap]] appid = OWM_APPID station_id = STATION_ID

what is the format of station_ID ?????

Thanks

Sebastien

WhiteNoseThunderPants commented 3 years ago

I don't know if you still need this info, but the appid is your API key and the station_id is the id that you received when you sent the POST command via POSTMAN or curl. It would have been the first result and labeled simply as id.

I was a bit confused by this myself initially.

GameWatchProjects commented 6 months ago

What is the url of the post command to get the station id?