How to query data from the internet?

Discussion in 'iOS Programming' started by jsnuff1, Aug 4, 2008.

  1. macrumors 6502

    Oct 4, 2003
    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?

  2. macrumors member

    Jul 13, 2008
    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

  3. macrumors 6502

    Jan 16, 2006
    New York, NY
    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

    Aug 4, 2008
    there are data-providers.

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

    Jul 24, 2007
  6. macrumors 6502

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


    Jun 15, 2000
  8. macrumors member

    Jul 27, 2008
    The Weather Underground API supports both commercial and private weather station data. Also supports look-up via Latitude/Longitude.
  9. macrumors 6502

    Feb 22, 2006
    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

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

Share This Page