Where can I find a free Python API that provides historical weather data (temperature, rainfall)? I'd need data of an Italian city, at least with hourly granularity.

  • 1
    $\begingroup$ How far back? I know of at least one dataset that goes back to 1980. This particular dataset doesn't have a specific Python API, but there are Python modules that will let you access it (given that you get a login) with relative ease. $\endgroup$ – BarocliniCplusplus Dec 23 '20 at 16:47
  • $\begingroup$ Just few months back, but I need data about Italian locations $\endgroup$ – nicc96 Dec 23 '20 at 17:06
  • 1
    $\begingroup$ What Italian location are you looking for? $\endgroup$ – Wxboyajm Dec 23 '20 at 19:06
  • $\begingroup$ I would also like to get that data, especially if it's in a .csv format (or similar) where I can use the Python package called Pandas to access and manipulate it. If you find a link, please post it here. $\endgroup$ – rchuso Dec 24 '20 at 19:55
  • $\begingroup$ Are you looking for raw station data or would climate reanalysis be an option for you? $\endgroup$ – Dmitri Chubarov Dec 25 '20 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.