If you're familiar with Python, using the libraries urllib2 and
beautifulsoup will get you what you need. For Perl there is
WWW::Mechanize -- both support SSL

On Thu, Apr 3, 2008 at 6:52 PM, Dave Bour
<[EMAIL PROTECTED]> wrote:
> I'm curious if anyone has done any web site scrapers to put data on the sets. 
>  I've got a few routines displaying some data on my Aastra sets now.  That's 
> the easy part.
>
>  One I'd like to get is my Virgin Mobile prepaid account balance.  Since it's 
> https, it's not as simple as passing the user/password as a variable.  A 
> little more work would be required.  I could think of a dozen things like 
> this to use...
>
>  Bank & Credit card balance monitoring for rapid fraud detection
>  Any Voip or cellular account prepaid balance - avoid those embarrassing 0 
> balance call termination events
>
>  Anything where you'd like to monitor balances, etc....I see use for this.
>
>  LesNet has provided a simple URL based lookup that will do it for you:
>
>  http://les.net/api/balance.php?id_account=xxxxx&password=yyyyy
>
>  where xxxxx and yyyyy are your account/password respectively.  A simple CURL 
> statement makes that data useful.
>
>  You could program your system to update the data daily or triggered on an 
> activity.
>
>  I remember a couple years ago a similar discussion across the TLUG group but 
> can't find it any longer.    Any ideas?
>
>
>
>
>  Dave Bour
>  Desktop Solution Center
>  905.381.0077 X501
>  [EMAIL PROTECTED]
>
>  For people who just want IT to work
>
>  Business http://www.desktopsolutioncenter.ca
>  Personal http://www.davebour.com
>
>



-- 
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so. -- Mark Twain
|
| The Toronto Asterisk Users Group
| Join the discussion group by visiting http://taug.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to