Questions tagged [openweathermap]
A free online service for retrieving weather data
openweathermap
856
questions
0
votes
2
answers
59
views
Why when i send a fecth requst to Open Weather API in React JS. React first return me undefined an after that data?
I watn to make Weather App. I just start study react. I do a fetch request to Open Weather API to get a weather data. When i consol.log(data) and update my page, React first return me undefined and ...
0
votes
0
answers
16
views
OpenWeatherMap Trigger API not producing alerts
Checking in here to see if anyone can get OpenWeatherMap "Trigger" API to produce an alert. I cannot. (verified with conditions for the location transitioning over the trigger boundary and ...
0
votes
2
answers
37
views
Re-render a OpenWeatherMap component when switching language in Vue 3
I am a beginner using Vue 3, to learn it I am developing a simple weather webapp using OpenWeatherMap API. I have added multilanguage support using vue-i18n library and everything works fine. But ...
0
votes
0
answers
27
views
Time zone problem with OpenWeatherMap App
I'm working on a basic weather app that takes a US zip code and gives the 5 day forecast including "today" based on the particular zip code's "today" regardless of where the app ...
0
votes
0
answers
60
views
Facing Authorization Issues When Fetching Current Weather Data Using OpenWeather API in NodeJS Express
I am attempting to develop a weather website project using NodeJS Express and Axios, integrating the OpenWeather API to retrieve current weather data. However, I'm encountering authorization issues ...
0
votes
1
answer
58
views
I want to include the API from weatherOpenMap in my website to show the weather dynamic icon based of that but it doesn't show up
I included this in my html header:
<script src="main.js"></script>
and this is in my weather section:
<div class="weatherIcon">
<h2><span ...
0
votes
1
answer
35
views
Openweathermap > json / fetch / property is not always available resulting in undefined
I'm trying to get this to work:
(removed app id)
fetch('https://api.openweathermap.org/data/2.5/weather?lat=39.561937&lon=2.936562&appid=XXX&units=metric&lang=de')
.then(data =&...
0
votes
0
answers
9
views
Time on OpenWeather
I was making a system where it automatically saves the temp and the time when the temp was at. The thing is, since im new, I don't know how to get the time, ive been struggling alot. Thank you!
I don'...
0
votes
1
answer
39
views
The method '[]' was called on null. Flutter weather app
I have some error:
I/flutter (30216): NoSuchMethodError: The method '[]' was called on null.
I/flutter (30216): Receiver: null
I/flutter (30216): Tried calling: [](0)
There is my main.dart code:
...
0
votes
0
answers
17
views
OpenWeatherMap measurments get request returns empty array right after sending data
Trying to work my personal weather station into an OpenWeatherMap station, but when I try to check the data, it returns an empty array
I tried using cURL and Python, but to no avail either way
curl -X ...
1
vote
1
answer
144
views
Is there a way to get past precipitation data in OpenWeatherMap API?
Using OpenWeatherMap API (onecall 2.5), using 6 days of previous weather data in a certain area, why is there no precipitation in the JSON data?
Is there any data for this, and if there is, how do I ...
0
votes
4
answers
105
views
How can I retrieve an icon from an object/array?
I'm currently working on a project where I need to extract an icon from an object or an array. However, I'm encountering difficulties in doing so. My approach involves storing the icon in a variable ...
1
vote
1
answer
43
views
Nextjs weather app trying to call api. Not sure what I'm doing wrong. I get unauthorized error
Am I doing the api handling right? Or is there something I'm missing? This was originally a create react app project and now I'm trying to migrate to nextjs so maybe I'm missing something with how api ...
0
votes
0
answers
25
views
Statistics from API calls in Google Sheets
I am a beginner to programs like Google Sheets or Excel and am currently trying to create a spreadsheet that keeps tally of average temperature and weather data in various cities. It updates daily. It ...
0
votes
0
answers
40
views
Passing LON and LAT while using AXIOS to handle multiple API requests
I have an ok understanding at using node and axios to make api requests. The only issue I'm having right now is that I've retrieved the city name a user types and I'm trying to pass lon and lat based ...