WeatherLib icon indicating copy to clipboard operation
WeatherLib copied to clipboard

Add weather.com support

Open johnuopini opened this issue 11 years ago • 19 comments

You can search for a city using (format is City, Region Code, Country Code): http://wxdata.weather.com/wxdata/search/search?where=New%20York,NY,USA

And then get the weather from (unit is the unit c/f and dayf is the days): http://wxdata.weather.com/wxdata/weather/local/USNY0996?unit=f&dayf=10&cc=*

Data is XML and quite easy to read. This is the same weather used by Google so it would be great to have it.

johnuopini avatar Sep 03 '14 12:09 johnuopini

Where can i fidn some docs?...It seems to me that Weather.com and Weatherunderground have common api (http://www.weather.com/services/).

survivingwithandroid avatar Sep 04 '14 13:09 survivingwithandroid

Didnt find any but the XML is very readable and also you can find an implementation here: https://code.google.com/p/python-weather-api/source/browse/trunk/pywapi.py

You can add language by adding "&locale=it" for italian for example, everything else should be easy. BTW pywapi also supports NOAA which would be a great thing to have

johnuopini avatar Sep 04 '14 14:09 johnuopini

Are you already working on this? If not i can try

frmz avatar Sep 24 '14 11:09 frmz

Hello ,

i've ended the the autocompletetextwatche for the place ,now i'm taking the check over all the app , then i want to deploy for free on Google Play from wich i'm already registered .

For the implementation of the forecast i'll do in second time , meanwhile i'd like to create about something else .. Any suggestions ?

Best Regards

Luciano Balzano

Il Mercoledì 24 Settembre 2014 13:23, frmz [email protected] ha scritto:

Are you already working on this? If not i can try — Reply to this email directly or view it on GitHub.

ghost avatar Sep 24 '14 11:09 ghost

@frmz you can try i'd be happy to integrate another weather provider. If you need any help let me know.

survivingwithandroid avatar Sep 24 '14 12:09 survivingwithandroid

@survivingwithandroid only issue i see is that i am not able to find a list of weather.com icon codes

frmz avatar Sep 24 '14 14:09 frmz

@frmz you can avoid by now implement it. You can simply create a empty class

survivingwithandroid avatar Sep 24 '14 14:09 survivingwithandroid

@survivingwithandroid yeah i know, problem is that i need it in my app :)

frmz avatar Sep 24 '14 14:09 frmz

@survivingwithandroid found something!

frmz avatar Sep 24 '14 14:09 frmz

P.S. The DAY / NIGHT / HOT / COLD weather codes do not really make any sense, those should be removed

frmz avatar Sep 24 '14 14:09 frmz

What's the status on this please?

RoundSparrow avatar Oct 16 '14 13:10 RoundSparrow

Hi ,

on my app i've done the search autocompletextview by search tools powered by Google search .

Il Giovedì 16 Ottobre 2014 15:15, Stephen Gutknecht [email protected] ha scritto:

What's the status on this please? — Reply to this email directly or view it on GitHub.

ghost avatar Oct 16 '14 14:10 ghost

@RoundSparrow are u interested on supporting Weather.com in the Weatherlib?

survivingwithandroid avatar Oct 16 '14 15:10 survivingwithandroid

Yes, I think a great purpose for this library is to allow other apps to switch providers easily. So more providers the better. I think the demo app should also have a settings to pick provider... I notice it doesn't show this off.

RoundSparrow avatar Oct 16 '14 15:10 RoundSparrow

@RoundSparrow I think you are right about the capability to change provider at runtime. Regarding of Weather.com support i'm investigating if there is a "standard" support, because it iseems to me that they use Weatherunderground. Look at this link http://www.weather.com/services/ and you will confirm what i'm saying.

survivingwithandroid avatar Oct 16 '14 15:10 survivingwithandroid

@RoundSparrow instead of Weather.com do you have in mind other provider we might support?

survivingwithandroid avatar Oct 16 '14 15:10 survivingwithandroid

I'm no expert on Internet weather - but I can see that one additional provider (and the demo having runtime change) would help a lot of widget apps out there that are all only basically using Yahoo.

In my search for a library, I did locate this January 2012 list of API providers, it seems like a really good starting point: http://www.programmableweb.com/news/26-weather-apis-12-support-json/2012/01/11

RoundSparrow avatar Oct 16 '14 15:10 RoundSparrow

Weather.com is the one google uses for their news & weather app, ive been able to map the codes and i just need to create the provider, however since i dont see much activity on this library i am not sure if it makes sense to proceed.

frmz avatar Oct 22 '14 12:10 frmz

unit=m for Celcius

kaangiray26 avatar Oct 02 '16 19:10 kaangiray26