I'm trying to use the OpenWeatherMap API to get historical data by city name, though the Docs do not specify how to pass an API key in such a call.
The example they have on the docs is:
http://history.openweathermap.org/data/2.5/history/city?q=London,UK
though without passing an API key I get a 401
error. I've seen in other Stack posts where people have succeeded to make calls by inserting the parameter ?&APPID=**api-key-here**
, though I've tried tens of permutations with no luck.
I'd like to use the following call so I can specify the time range.
http://history.openweathermap.org/data/2.5/history/city?q={city ID},{country code}&type=hour&start={start}&end={end}