Free API for Weather History

Asked

Viewed 2,986 times

0

As I explained to Guilherme in the comments, I make it very clear in my question that I want a climatological HISTORY. The question indicated as duplicate does NOT show how to recover climatological HISTORY. Please try to read the question before marking duplicate, it is a lack of respect to mark duplicate of a question without first reading the same.

Hello, I’m playing a little with the library python plotly and I would like to try to relate some historical weather forecast data (rains, temperature etc) to a set of data that I already have.

But I still haven’t been able to find any API that provides me with historical weather data of a city or region for free.

Is there an API that provides me with this (historical weather data) for free?

The format can be json, XML, doesn’t matter much, as long as I can access this data with Python is great.

EDIT: The question pointed out as duplicate is not about historical weather forecasts but about weather forecasts. What I need is the forecasting history of a locality.

  • 1

    Maybe in the site of INMET.

  • I did not understand how to use urllib and jsonparser to get the history, in the answers of this other topic have only calls that return weather forecasts (it may be that I was well "Noob" and did not find where to see the history), if that is the case please enlighten me!

  • I realized that there was another duplicate marking, I have read about 10 times this other topic that @Guilhermenascimento indicated to try to find where explains the way to recover the climatological HISTORY but I found nothing. It is doubtful if I am extremely "covered" or if people mark duplicate without at least reading the questions.

  • Possible duplicate indicates "possible", does not mean it is.

  • @Guilhermenascimento correct, I do not know if it is possible but it would be nice then uncheck the question as duplicate and delete your duplicate comment, Thank you.

  • 1

    You read the part I wrote "just use urllib and jsonparser"? Your question is a service request, if it’s not dup it’s Offtopic. Now if the difficulty is in your python code then the direction changes and becomes on-topic.

  • If you use the API of that answer https://answall.com/a/117122/3635 with urllib (python), you can easily get the results.

  • @But where do these data come from? As I mount a query in YQL to get the temperature/humidity of the air of 2015 for example, there I get the forecast, as I get by openweathermap, but historical data I honestly can’t find. The part of urllib/jsonparser, as far as I know, would be useful only if I had the data but I don’t have it and that’s exactly what I’m looking for

  • Now of a question Enerica you are making the doubt much more complex, I recommend you edit your question, because clearly what you want is far beyond indicating Apis, this site is not to indicate services and etc, if your doubt is to catch the temperature of a specific date .... PS: urllib is for downloading API data ;)

  • It was not my intention to leave the complex doubt. The example was only to try to help you understand what I want. The focus is: "An API that provides historical climatological data. How to use the API, how to recover this data, I turn around and it’s a question for another question if I can’t. On this topic the only thing I want is the blessed API with historical climatology. That’s pretty hard to find, if there is one. That’s why I posted here, I’ve researched dozens of sites and in the Brazilian communities and OS gringa, nothing provides what I need for free.

  • Which api you said you have the data but can’t get?

  • openweathermap, it is only go in Bulk history or history, any of the 2 would suit me, but I cannot use it as it is paid and by what I researched has no "student account"

  • 2

    So the problem was not to "catch" but the question of being paid -.- could have spoken before right? It would have saved some time of understanding of the staff. I’ll see if I can find something and send it to you? ;)

  • blza, thank you very much!

  • 1

    If you need one historical weather for a particular region, since you can’t find a free API that gives you a history, you can create a table for example, that every day is fed using a cronjob with the weather of that day

  • @Marceloboni is exactly what I started to do, unfortunately I will have to assemble my own history if I do not want to pay... And thanks for the help! I’m selling some business on that Django-crontab to keep collecting this data

Show 11 more comments

1 answer

4

Openweathermap:

"Our API is simple, clean and digratis. We offer high-level support (paid plans). For API access, Voce needs to create an account to get a Key API."

Openweathermap

Link to the website.

  • Thanks for the @Sidon reply but openweathermap charges 10 doletas to provide the history of a location :/

  • 1

    So the proprganda is misleading? In the initial text of the page says it is free and only charges for the support.

  • Hahaha, if they say they only charge for support, it’s misleading advertising. The API in general, to see weather forecasts is free yes, but history unfortunately no, I gave a GOOD researched already through the internet and I found some sites since they provide what I want, but all are paid =/

  • 1

    I’ve used this service for some time (less than two years) and, yes, it was free qq access, I remember it was kind of complex, but it was digratis yes. They must have changed a little while ago.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.