Questions tagged [weather-api]

An API dedicated to weather forecasts

An API dedicated to weather forecasts


Related tags

568 questions
-1
votes
2 answers

Yahoo weather API using NSXMLParser

This is the documentation provided by Yahoo: http://developer.yahoo.com/weather/ At the moment this is my code: NSString *location = @"Palermo"; NSString *temperatureUnit = @"c"; NSString *address =…
Massimo Piazza
  • 663
  • 3
  • 7
  • 21
-1
votes
2 answers

Get Weather forecast detail from current location

In my app i was using google api to get weather details, but i just know that it's no more working. Yahoo weather API good to use but it's not for commercial use as per its terms so i can't use it. Can anyone please suggest any way or provide any…
Nikunj
  • 987
  • 11
  • 25
-2
votes
1 answer

The operator < is undefined for the argument type(s) String, int ? in java

I'm trying to make a condition in the method clothing that if temperature is < 10 then advise particular clothes but I'm getting the following error: The operator < is undefined for the argument type(s) String, int. So how can I use this greater…
ahmed
  • 9
  • 3
-2
votes
1 answer

How can I call a variab that I wrote in a non-Class place to another class?

1.The "address" variable here gives me a city name with coordinates.I would like to write this address instead of Istanbul in the retrofit so that it can automatically show the weather of the selected location on the map.(Googlemap) private const…
volkanfil
  • 69
  • 1
  • 6
-2
votes
2 answers

C# json object Deserializtion

I have a JSON content as [{ "LocalObservationDateTime": "2018-04-23T08:10:00+05:00", "EpochTime": 1524453000, "WeatherText": "Sunny", "WeatherIcon": 1, "IsDayTime": true, "Temperature": { "Metric": { …
-2
votes
4 answers

Regarding JSON parsing error

$value) { echo…
Eurasia
  • 5
  • 5
-2
votes
1 answer

AttributeError: 'NoneType' object has no attribute 'commit'

I am using JetBrains PYCharm for creating a Python script that is connecting to an external API to collate weather data, forgive my ignorance of anything , I know similar questions have been asked before, please bear with me I only touched Python…
Zabs
  • 13,852
  • 45
  • 173
  • 297
-2
votes
1 answer

SWIFT access to JSON ARRAY

I have this data from JSON from OpenWeatherMap API "weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}], I have not idea how to access property "description"... I am using Alamofire and SwiftyJSON. I have no problem get…
Pan Mluvčí
  • 1,242
  • 2
  • 21
  • 42
-2
votes
2 answers

Data Not showing from Google Weather API also Toast not showing

i have been following new boston android series and in XML parsing tutorial i m facing an issue. data is not showing.also no opertation showing on button click on real device. code is : weatherXMLParsing class package com.ss; import…
-2
votes
1 answer

Getting Hourly(Every 3 Hours in a day) Forecast using NOAA (National Weather Service)

I am getting weather forecast data for 12 hours Using NOAA Weather API The URL is: http://forecast.weather.gov/MapClick.php?textField1=40.714269&textField2=-74.005968&unit=2&FcstType=json , Now i want to get Hourly forecast data every 3 hours.Does…
iosdev1111
  • 1,048
  • 1
  • 13
  • 32
-2
votes
1 answer

How to use weather API to create my weather HTML page

I want to code a page using HTML and CSS. I already designed it, but I'm lost since I don't know how to link it with the weather API to fetch the weather fot the selected city/country. Can anyone give me examples of how does the code go?
user3671574
  • 3
  • 1
  • 5
-2
votes
1 answer

Show JSON Info in UILabel

I am getting JSON from World Weather Online and I'm trying to show the temperature in Fahrenheit in a label but when I run it, that label shows (null). The JSON shows fine in the console so I know it is pulling the right data. Any ideas? #define…
raginggoat
  • 3,570
  • 10
  • 48
  • 108
-2
votes
1 answer

Does Anyone know of a Canadian Weather data provider?

I'm looking for a weather data provider for Canada that is similar to Noaa's NDFD SOAP Service. (i.e. a real-time weather data for Canada) I am aware of http://www.weatheroffice.gc.ca/business/index_e.html However, I would prefer a Web Service. Is…
dda
  • 309
  • 1
  • 3
  • 15
-3
votes
1 answer

App with showing weather information runs on emulator not on actual phone

/15 18:04:40: Launching 'app' on Xiaomi Redmi 6 Pro. Install successfully finished in 7 s 219 ms. $ adb shell am start -n "com.example.weatherapp/com.example.weatherapp.MainActivity" -a android.intent.action.MAIN -c…
-3
votes
2 answers

Storing weather forecast data in Swift

I want to make an application which requires a lot of weather forecast data, three cities, seven days, 24 hours and six values in every hour of forecast. I'm using the Dark Sky API and pod called ForecastIO. What should I use for storage? CoreData…
Samek
  • 3
  • 1
  • 5
1 2 3
37
38