 |
 |
|
 |
06-30-2009, 05:16 AM
|
#1 (permalink)
|
|
New Member
Join Date: Mar 2009
Posts: 7
|
Retrieving info from various services
I see numerous applications that retrieve information from various services. For example, applications tracking the progress of delivery of packages from a whole bunch of services, such as DHL, UPS, and many more. So far, I have been unable to find open protocols for retrieving this sort of information. So, how do they do it? Do they have "connections"? Do they simply parse the HTML pages that report this kind of information to users? Any ideas? Also interested in retrieving (and making changes to) information on mobile phone accounts.
Thank you.
|
|
|
06-30-2009, 10:54 AM
|
#2 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,575
|
Quote:
Originally Posted by dsable
I see numerous applications that retrieve information from various services. For example, applications tracking the progress of delivery of packages from a whole bunch of services, such as DHL, UPS, and many more. So far, I have been unable to find open protocols for retrieving this sort of information. So, how do they do it? Do they have "connections"? Do they simply parse the HTML pages that report this kind of information to users? Any ideas? Also interested in retrieving (and making changes to) information on mobile phone accounts.
Thank you.
|
Many large web sites such as Amazon and Ebay provide "API"s of their own that allow you to query their data - usually by sending a http request and getting XML in return, which you can read with NSXMLParser. Others (usually news/info sites) provide daily RSS feeds that informy you of new content.
It's dangerous to parse the HTML directly - any change to the site's design could break your program.
__________________
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 418 |
| 46 members and 372 guests |
| aoredsson, aryaxt, ataranlen, beginer2007, benoitr007, BolderImage, BrianSlick, Chilibird, dcinqc, develsolutions, Dorald, dre, Erle, Eskema, Exaviorn, fordprefect77, Hanks2000, harrytheshark, HemiMG, hoisty, iTrackiGiveaway, Jompe71, Krakau, LemonMeringue, Locker, MartinIngvar, Max, meosoft, Meoz, mikeyb, MiniRobinho, Nanyko, nibby, noobAppDeveloper, Nuncha, skela, snowboarderz69, spikeyfish2, stack_trace, Tambourin, thegreyit, Tom Powered, tychop, upperhouse, vibhorgoyal, walkman2001 |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,300
Threads: 39,100
Posts: 171,421
Top Poster: smasher (2,575)
|
| Welcome to our newest member, lending |
|