Is a simple API develop in PYTHON and Flask, to integration in OpenWeatherMap for free user :)
get temperature and climate for city and state
GET : https://weather.contrateumdev.com.br/api/weather/city/?city=Belo%20Horizonte,minas%20gerais
get temperature and climate for latitude longitude
GET : https://weather.contrateumdev.com.br/api/weather?lat=-19.8218131&lon=-44.0094874
$.post({
method: 'GET',
url: `https://weather.contrateumdev.com.br/api/weather/city/?city=Belo%20Horizonte,minas%20gerais`,
contentType:"application/json; charset=utf-8",
dataType:"json",
success: function(resultado, status, xhr) {
console.log(resultado)
}
})
$.post({
method: 'GET',
url: `https://weather.contrateumdev.com.br/api/weather/api/weather?lat=-19.8218131&lon=-44.0094874`,
contentType:"application/json; charset=utf-8",
dataType:"json",
success: function(resultado, status, xhr) {
console.log(resultado)
}
})