843 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
46
views
Python/Tweepy script posts blank image from OpenWeatherMap Tile API in twitter
I have a Python script that fetches weather data and a corresponding weather map tile from OpenWeatherMap, then posts them to Twitter using Tweepy.
The script successfully fetches text data and posts ...
1
vote
1
answer
79
views
Is there other ways to convert Unix timestamp to local time in javascript with openWeather API timezone involved?
I’m using the OpenWeather API to create a simple web page that displays dynamic weather data, including sunrise and sunset times. The API provides these times in seconds (Unix timestamp), and I’ve ...
0
votes
1
answer
859
views
ModuleNotFoundError: No module named 'urllib3.packages.six.moves' in a simple weather app
When I run the code, I get the error "ModuleNotFoundError: No module named 'urllib3.packages.six.moves", this is despite the fact that I have uninstalled and reinstalled six, requests and ...
-1
votes
2
answers
176
views
Current - Weather api for Python Tkinter Project
I'm making a Python gui project using Tkinter module. The main problem is that I've searched multiple times, but can't find a website for a free api. Many websites are saying to use OpenWeatherMap api ...
-1
votes
2
answers
153
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
2
answers
102
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
265
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
78
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
60
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
1
answer
53
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:
...
1
vote
1
answer
289
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
390
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
96
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
77
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 ...
2
votes
3
answers
246
views
SwiftUI not updating UI after fetching data automatically from OpenWeather API
I'm facing an issue in my SwiftUI project where the UI is not updating automatically after fetching data. I have a WeatherViewModel fetching weather data for multiple locations, and the UI doesn't ...