Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-30-2009, 05:16 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 7
Question 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.
dsable is offline   Reply With Quote
Old 06-30-2009, 10:54 AM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,575
Default

Quote:
Originally Posted by dsable View Post
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.
__________________
smasher is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,300
Threads: 39,100
Posts: 171,421
Top Poster: smasher (2,575)
Welcome to our newest member, lending
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0