My most successful app to date has been Cheap Seats. A flight deals notification app released only in New Zealand and Australia.
Air New Zealand was slow to join the mobile revolution, so I decided to simplify my life and create an iOS app due to the lack of Adobe flash on iOS devices at the time. The app was the number 1 travel app in the New Zealand iTunes store, and had 75,000 active users.
The target URL (excluded for obvious reasons) contains JSON data from Air New Zealand.
$anz returns PHP object such as:
The two parts of this data packet that we’re interested in are the “bookURL” string and “special” array.
It’s then just matter of extracting some of the items of interest.
For Cheap Seats the specials array was repacked into JSON before being sent to the iPhone.
I created a new revised version which included social aspects but by then Air New Zealand had joined the rest of the world.