I am using the openweathermap api 5 day/ 3 hour forecast   I get the following result set. There are multiple results for each day. Every 3 hours have a result. Here is the api call in full to get the full json https://api.openweathermap.org/data/2.5...
I have written a weather app by using API of openweathermap (free account) in React. I have used fetch in componentDidMount like this.  async componentDidMount()   {     const url1 = "https://api.openweathermap.org/data/2.5/weather?units=metric&a...
I am trying to get some weather data from the openweathermap-webservice. Among the data is a the iconCode too in order to visualize the current weather condition. Here is the xml-response of the given request:  request:   http://api.openweathermap.or...
I'm not an expert in JS, but have found the example of a openweathermap and google maps integration to show the weather on the map.  Now it works for the current weather, but I need also include the forecast for the next 3 days. How is it possibl...
I'm making a weather app that uses geolocation, but also search.  The function for geolocation is working, but user search is failing; the error in the console is: GET {api url} 404 (Not Found).  First, the function that does NOT work:      funct...
I am trying to get the weather description in French from the OpenWeatherMap API but I am stuck.  What am I doing wrong please?  var urlBase = "http://api.openweathermap.org/data/2.5/weather?id="; var apiKey = "&appid=xxx"; var un...
I want to display images based on the temperature or weather conditions that OpenWeatherMap API provides. So far I've gotten it to show me a basic weather report but I can't figure out how to create an IF statement based on the provided data....
Okay so I have setup a bit of Javascript using the API Open Weather Map.. so when it is below 10.C in Brecon, Wales, the page will say 'hello?'.  Then in CSS I have styled the text so it should be red and 30px.. but this doesn't seem to b...
I'm studying frontend and I can't get this to work. I'm trying to us OpenWeatherMap api. but I can't loop through it. and add it whit innerHTML  codeimg...
I am new to JavaScript and JQuery. I am trying to get weather data using the Openweathermap API. I am trying to loop through the object returned by the $.getJSON() method using Openweathermap API.  html code:   <!DOCTYPE html> <html> <...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.