PDA

View Full Version : How to query data from the internet?




jsnuff1
Aug 4, 2008, 08:36 AM
How do apps like currency converters and weather apps etc get their data from the internet?

Is there a certain API that you just type in the web address and it returns the data in some type of format that you display? Do you have to set up your own server with this data or are there free places where you can get it?

Thanks!



imPoddible
Aug 4, 2008, 09:24 AM
How do apps like currency converters and weather apps etc get their data from the internet?
Thanks!

I'd like to find out the same thing. These apps which give you local information - like restaurants and stuff. Where do they get the information from?

Anyone have a clue?

Thanks in advance

imPoddible

johnnybluejeans
Aug 4, 2008, 09:32 AM
Is there a certain API that you just type in the web address and it returns the data in some type of format that you display? Do you have to set up your own server with this data or are there free places where you can get it?

Hmm.. I would say the answer is all of the above. There are a number of classes dedicated to various networking communication, from lower level socket communication to higher level html and xml communication.

Some applications may pull live data off the net from private sources, some may pull from public sources. If creating a "for-pay" application, you would need to find out the terms of use for any source you pull from.

superking
Aug 4, 2008, 02:48 PM
there are data-providers.

some give the data away for free and others sell it.

operator207
Aug 4, 2008, 03:24 PM
Yes, API's. Wonderful things.

Here is someplace you could start looking since google is so cool.

http://code.google.com/more

aphexii
Aug 11, 2008, 05:56 PM
I don't see any commercial use weather API's on the Google Site, anyone know of any?

kainjow
Aug 11, 2008, 07:32 PM
http://weather.weatherbug.com/desktop-weather/api.html

Encryptic
Aug 11, 2008, 08:07 PM
I don't see any commercial use weather API's on the Google Site, anyone know of any?
The Weather Underground API supports both commercial and private weather station data. Also supports look-up via Latitude/Longitude.

http://wiki.wunderground.com/index.php/API_-_XML

aphexii
Aug 12, 2008, 02:00 AM
The Weather Underground API supports both commercial and private weather station data. Also supports look-up via Latitude/Longitude.

http://wiki.wunderground.com/index.php/API_-_XML

Thanks! I ran across the WeatherBug one above, but didn't really care much for the revenue sharing program they established as weather really isn't the primary focus for my app, just an afterthought.

I didn't see anything from a quick read, but does wunderground have any restrictions/fees/approvals for commercial use?

Encryptic
Aug 12, 2008, 04:50 PM
Thanks! I ran across the WeatherBug one above, but didn't really care much for the revenue sharing program they established as weather really isn't the primary focus for my app, just an afterthought.

I didn't see anything from a quick read, but does wunderground have any restrictions/fees/approvals for commercial use?

The only projects I have used for have never left my hands. I would check with them before publishing anything.