Questions tagged [openweathermap]

A free online service for retrieving weather data

OpenWeatherMap is a free online service for retrieving weather data, inspired by .


Useful links

624 questions
43
votes
5 answers

How do I calculate the temperature in celsius returned in openweathermap.org JSON?

I'm getting the weather for a city using openweathermap.org. The jsonp call is working and everything is fine but the resulting object contains the temperature in an unknown unit: { //... "main": { "temp": 290.38, // What unit of…
19
votes
10 answers

How to display openweathermap weather icon

I am using openweathermap to display weather reports. Everything is working fine but there is a problem with the icon. The JSON response code is: Array ( [city] => Array ( [id] => 1271476 [name] => Guwahati …
Ajay Krishna Dutta
  • 584
  • 2
  • 5
  • 20
9
votes
7 answers

Value null of type org.json.JSONObject$1 cannot be converted to JSONObject

I'm getting this exception error when using the OpenWeatherMap API. I'm just trying to get the result to be an JSONObject, but null keeps coming up. @Override protected void onPostExecute(String result) { super.onPostExecute(result); …
SmiffyKmc
  • 581
  • 1
  • 10
  • 28
8
votes
2 answers

Cannot resolve symbol c882c94be45fff9d16a1cf845fc16ec5

I am a new developer exploring the world of Android. I am currently working through the Udacity tutorials for creating the Sunshine app. In the fragment activity class in order to get data from openweathermap I must add the API key I got from my…
Kevin Rajan
  • 777
  • 7
  • 25
7
votes
5 answers

JSON returning with "\" (Lambda)

I am using AWS Lambda to get JSON from the open weather api and return it. Here is my code: var http = require('http'); exports.handler = function(event, context) { var url =…
JamesG
  • 1,084
  • 4
  • 23
  • 69
7
votes
2 answers

Google Maps Javascript API with an OpenWeatherMap Tile Layer Overlay

How can I overlay an XYZ tile set (something like this) on Google Maps API 3? I want to overlay weather data (cloud cover...etc). Feel free to use my OpenWeatherMaps URL to test it…
7
votes
1 answer

How to use OpenWeatherMap API for Javascript?

I am trying to create a weather app with OpenWeatherMap API for javascript. The code for my web app is : Weather