How to query data from the internet?

Discussion in 'iPhone/iPad Programming' started by jsnuff1, Aug 4, 2008.

  1. macrumors 6502

    Joined:
    Oct 4, 2003
    Location:
    NY
    #1
    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!
     
  2. macrumors member

    Joined:
    Jul 13, 2008
    #2
    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
     
  3. macrumors 6502

    Joined:
    Jan 16, 2006
    Location:
    New York, NY
    #3
    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.
     
  4. macrumors newbie

    Joined:
    Aug 4, 2008
    #4
    there are data-providers.

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

    Joined:
    Jul 24, 2007
    #5
  6. macrumors 6502

    Joined:
    Feb 22, 2006
    #6
    I don't see any commercial use weather API's on the Google Site, anyone know of any?
     
  7. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  8. macrumors member

    Joined:
    Jul 27, 2008
    #8
    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
     
  9. macrumors 6502

    Joined:
    Feb 22, 2006
    #9
    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?
     
  10. macrumors member

    Joined:
    Jul 27, 2008
    #10
    The only projects I have used for have never left my hands. I would check with them before publishing anything.
     

Share This Page