View Single Post
Old 09/10/2009, 09:40 PM   #931 (permalink)
trixter_0xdecafbad
Member
 
Join Date: Sep 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by johnsongrantr View Post
I'm going to dig into this guy's script and attempt to figure out what he's doing. Looks like it's written in perl and I'm not too familiar with that language.
Google Voice Command Line Script | 0xdecafbad.com

looks like he seems to have gotten it to work, now just to figure out how
I can probably explain anything you want Although, like you, I am not too familiar with perl.

On my page I detail it somewhat. There are various URLs that do different things.

I use WWW::Mechanize to automate the login/auth process. From what I can tell this process is the same for GMail. There is a hidden form field that you have to get in order to make it all work.

Once authenticated, I send data to Google Voice to initiate a call, send an SMS or Cancel a call.

I list the URLs to deal with inboxes, contacts, etc although I have yet to actually add the support for those things. They are JSON objects, so parsing them should not be terribly difficult as there is likely a perl module for that already.

I am probably not going to follow this forum so if you have questions for me or if anything is unclear in the script, it would probably be better to write them on my blog where I will actually see them.
trixter_0xdecafbad is offline   Reply With Quote
Thanked By: johnsongrantr