WWW::LaQuinta::Returns - Scraper for La Quinta Returns site
use WWW::LaQuinta::Returns; my $lq = WWW::LaQuinta::Returns->new( account => 'W123456', password => 'opensesame', ); my $points = $lq->balance; print "You have $points La Quinta Returns points";
This module scrapes the La Quinta Returns website to obtain your reward points balance at the La Quinta hotel chain.
Returns a new WWW::LaQuinta::Returns object.
Returns your La Quinta Returns points balance.
I wanted to write a cronjob that would alert me when my points balance changed or I became eligible for a free night. For an example of such a script, see bin/cron_example.pl.
A few other features that I might code at some point. Send me an email if you would find them useful. Oh, and patches are welcome.
Scraper for your account history - what hotels you spent your points at, how many points you used for free nights, how many points were earned from hotel stays/credit card usage/etc.
Like all screen-scraping tools, this module is prone to bugs or epic breakage if La Quinta changes their site design. It's not intended for use in production applications.
The author of this module is not affiliated in any way with La Quinta Hotels.
Use this scraper like you would a web browser. You wouldn't sit at your computer refreshing the La Quinta website every second, so don't use this module to write a cronjob that does that.
Copyright (C) 2010 Michael Aquilina. All rights reserved.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Michael Aquilina, firstname.lastname@example.org