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.
Maybe in the site of INMET.
– Pagotti
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!
– Gabriel Belini
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.
– Gabriel Belini
Possible duplicate indicates "possible", does not mean it is.
– Guilherme Nascimento
@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.
– Gabriel Belini
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.
– Guilherme Nascimento
If you use the API of that answer https://answall.com/a/117122/3635 with urllib (python), you can easily get the results.
– Guilherme Nascimento
@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
– Gabriel Belini
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 ;)
– Guilherme Nascimento
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.
– Gabriel Belini
Which api you said you have the data but can’t get?
– Guilherme Nascimento
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"
– Gabriel Belini
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? ;)
– Guilherme Nascimento
blza, thank you very much!
– Gabriel Belini
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
@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
– Gabriel Belini