Questions tagged [weather-api]

An API dedicated to weather forecasts

An API dedicated to weather forecasts


Related tags

568 questions
-3
votes
1 answer

How do I return the day of the week, then return the name of week from the Weather API?

def getForecast(): zip2 = '60103' url = 'http://api.openweathermap.org/data/2.5/forecast?zip=' \ '' + zip2 + ',us&appid=7f5941b864a5fde449419c6aaca23540&units=imperial'.format(zip2) response = requests.get(url) …
Tony P
  • 1
-3
votes
1 answer

Weather API similar to DarkSky Api

I am writing a Python program that tracks how much studying people do during different weather conditions. The data I am pulling contains timestamps and the amount of hours someone studied for at that given time in the whole of Europe. I am using a…
Shabina Rayan
  • 389
  • 1
  • 8
  • 22
-3
votes
1 answer

Error when getting image from weather api. iOS

This is from debug. url String "https://openweathermap.org/img/w/Optional(\50n\).png" The problem is in this line: self.imgURL = "https://openweathermap.org/img/w/\(self.dodatek).png" When I change (self.dodatek) for example to icon 50n it…
Ciechanx
  • 1
  • 1
-3
votes
1 answer

How to replicate command string to URL on cgywin/curl?

Currently I am using the following url string to obtain weather data from openweathermap.org. Example: http://api.openweathermap.org/data/2.5/weather?q=New%20York&appid={apikey} In response I receive…
Mahendra Gunawardena
  • 1,956
  • 5
  • 26
  • 45
-3
votes
3 answers

How to loop through the json onject returned by $.getJSON() method in JavaScript

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: …
sohan
  • 577
  • 1
  • 6
  • 9
-3
votes
2 answers

Parse XML data to a PHP variable

Getting weather data from openweathermap fails. Here is my code: $xml = new SimpleXMLElement(file_get_contents('http://api.openweathermap.org/data/2.5/weather?q=london&mode=xml')); $country = $xml->code->country; $city = $xml->code->city; echo…
David Torner
  • 43
  • 1
  • 8
-4
votes
1 answer

How to create Weather Forecast app?

I'm trying to figure out how to create a Weather Forecast application using Windows Phone 8.1 and OpenWeatherMap API. But I couldn't find any document on how to start on this. Any help? It doesn't have to be OpenWeatherMap too. Just want to know how…
Nimila Hiranya
  • 4,842
  • 10
  • 35
  • 52
-4
votes
1 answer

How to show current weather condition of current location in android?

Can any one tell me how to show current weather condition of a current location in android. Is there any examples available to achieve this? Suggestion please. Thanks for your precious time!..
prabu
  • 717
  • 3
  • 12
  • 30
-4
votes
1 answer

NOAA API or Weather.gov?

When using a cool PHP Library I find to get NOAA weather (https://github.com/amwhalen/noaa), I found that the results it returned differed from what I found on weather.gov. I found the weather.gov XML by simply clicking the button on the the page…
DaAwesomeP
  • 585
  • 5
  • 18
-5
votes
1 answer

Open source weather api for profit iOs app?

Have to use a weather api for a profit org app. Is there any api avail for free?
vashisht
  • 17
  • 1
  • 3
-6
votes
1 answer

Weather robot on Facebook using Bluemix results in 404 error

I created a weather robot on Facebook, but it showed the following error message: 404 Not Found: Requested route ('circle-weather-bot.mybluemix.net') does not exist.
1 2 3
37
38