Finding award availability
#1
Original Poster


Join Date: Nov 2002
Location: Boston, MA
Programs: AA PlatPro (Lifetime Gold), Marriott Titanium (Lifetime Platinum), HH Gold
Posts: 280
Finding award availability
so, i was bored tonight and wrote up a little script to simplify searching for onepass award availability. i feed in an origin and destination, outbound and return travel dates, and a plus/minus value to expand the search beyond the specified travel dates.
for example, here is what the output looks like.
% ./co.pl JFK BKK 05/26/2003 06/27/2003 1 1
May 25 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
May 26 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
May 27 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
Jun 26 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
Jun 27 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
Standard Economy (30,000 miles) : 1 options
Jun 28 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
i imagine others might find this script useful. however, because it is implemented as a perl script, most people probably aren't equipped to run it on their local computer. i could easily make it available over the web, but the problem with that is you'd have to submit your onepass number and PIN (because you have to login to continental.com before you can search for awards) and i don't really think many people will want to submit that information since it is private.
if anyone has any idea on how i might share this with others, please let me know. or, if you do happen to have perl and would like to run the script locally, e-mail me and i'll send you a copy.
-chris
for example, here is what the output looks like.
% ./co.pl JFK BKK 05/26/2003 06/27/2003 1 1
May 25 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
May 26 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
May 27 2003 JFK-BKK Availability
EasyPass Economy (60,000 miles) : 5 options
EasyPass First/BF (120,000 miles) : 3 options
Standard Economy (30,000 miles) : 2 options
Jun 26 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
Jun 27 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
Standard Economy (30,000 miles) : 1 options
Jun 28 2003 BKK-JFK Availability
EasyPass Economy (60,000 miles) : 2 options
EasyPass First/BF (120,000 miles) : 1 options
i imagine others might find this script useful. however, because it is implemented as a perl script, most people probably aren't equipped to run it on their local computer. i could easily make it available over the web, but the problem with that is you'd have to submit your onepass number and PIN (because you have to login to continental.com before you can search for awards) and i don't really think many people will want to submit that information since it is private.
if anyone has any idea on how i might share this with others, please let me know. or, if you do happen to have perl and would like to run the script locally, e-mail me and i'll send you a copy.
-chris
#2




Join Date: May 2000
Location: IAD/DCA/BWI
Programs: SQ, LH, AMEX, Citi, Cap1
Posts: 4,113
Excellent!!! While I have no use for it since I'm a WP member, may I suggest that you try experimenting with having this script run on a daily basis, checking availability on specific flights and plotting a histogram of availability or moving display, like historical stock quotes?
(I'd like to write a script to check NW's availability for xxx-NRT flights and DTW-AMS flights to find possible patterns.)
- Pat
(I'd like to write a script to check NW's availability for xxx-NRT flights and DTW-AMS flights to find possible patterns.)
- Pat
#3
FlyerTalk Evangelist



Join Date: Apr 2001
Location: DCA
Programs: AMC MovieWatcher, Giant BonusCard, Petco PALS Card, Silver Diner Blue Plate Club
Posts: 22,314
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Originally posted by chriseng:
if anyone has any idea on how i might share this with others, please let me know. or, if you do happen to have perl and would like to run the script locally, e-mail me and i'll send you a copy.</font>
if anyone has any idea on how i might share this with others, please let me know. or, if you do happen to have perl and would like to run the script locally, e-mail me and i'll send you a copy.</font>

But I'm wondering whether you could have a web-based form ask for the onepass # and pin? and then log onto CO.com a la http://www.miletracker.com ..?
Or would if work for a user to log themselves into CO.com and then use a web-based version of your program?
Thanks!
#4
Join Date: Feb 2002
Location: CLE, CO-Plat, AA-Plat, HH-Diamond, SPG-Plat
Posts: 65
Sounds great! Check your email, I'd love to get a copy of the script...
Thanks!
Thanks!
#5




Join Date: Feb 2003
Location: America's Finest City
Programs: United Airlines & Hilton Hotels
Posts: 696
Why not apply online for a "dummy" account? Put it in the name of Bill Clinton or Ronald Reagan and then build that account number and PIN into your code. Granted, Bill or Ron wouldn't have any elite status, but it would be a quick way to check for awards and get the user looking at the most likely dates when she/he does log in and searches with the CO serach engine.
#6
Original Poster


Join Date: Nov 2002
Location: Boston, MA
Programs: AA PlatPro (Lifetime Gold), Marriott Titanium (Lifetime Platinum), HH Gold
Posts: 280
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Originally posted by IAATM:
Why not apply online for a "dummy" account? Put it in the name of Bill Clinton or Ronald Reagan and then build that account number and PIN into your code. Granted, Bill or Ron wouldn't have any elite status, but it would be a quick way to check for awards and get the user looking at the most likely dates when she/he does log in and searches with the CO serach engine.</font>
Why not apply online for a "dummy" account? Put it in the name of Bill Clinton or Ronald Reagan and then build that account number and PIN into your code. Granted, Bill or Ron wouldn't have any elite status, but it would be a quick way to check for awards and get the user looking at the most likely dates when she/he does log in and searches with the CO serach engine.</font>
#7




Join Date: Aug 1999
Location: Alexandria, VA, USA NW Platinum Elite Since 1999, United GoldMM, Hyatt Discoverist, SPG Gold, Hilton Diamond, Hertz #1 Gold, IC Ambassador
Posts: 7,451
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Originally posted by IAATM:
Put it in the name of Bill Clinton or Ronald Reagan and then build that account number and PIN into your code. </font>
Put it in the name of Bill Clinton or Ronald Reagan and then build that account number and PIN into your code. </font>

[This message has been edited by thezipper (edited 04-07-2003).]
#9




Join Date: Mar 2003
Location: Long Beach, CA
Programs: United GS, HHonors Diamond
Posts: 787
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Originally posted by thezipper:
HaHaHa.... it'll be funny when M. Bergsrud and the other VP's are looking at all the funky searches with this and wonder "Why is Mr. Clinton wanting to go to Bangkok so often"....
[This message has been edited by thezipper (edited 04-07-2003).]</font>
HaHaHa.... it'll be funny when M. Bergsrud and the other VP's are looking at all the funky searches with this and wonder "Why is Mr. Clinton wanting to go to Bangkok so often"....

[This message has been edited by thezipper (edited 04-07-2003).]</font>
#10
FlyerTalk Evangelist




Join Date: Feb 2002
Location: San Francisco/Tel Aviv/YYZ
Programs: CO 1K-MM
Posts: 10,863
simple. you need a perl interpreter!
they are easily downloadable and free.
they are easily downloadable and free.
#11
A FlyerTalk Posting Legend




Join Date: Sep 2002
Location: LAX/TPE
Programs: United 1K, JAL Sapphire, SPG Lifetime Platinum, National Executive Elite, Hertz PC, Avis PC
Posts: 47,299
Wow, this looks excellent!! I am abit confused about one aspect...even if I had a PERL interpreter on my PC, where does the script log into to run its query on the CO system....do I need access to a SystemOne terminal, or does it somehow do something through the website?
I would love to try it out
I would love to try it out

