Someone else asked this question but had no replies so I am asking it again. I\'m trying to use pygooglevoice API but when I run the SMS.py example script it gives me a logi
Following works for me. I followed steps given at pygooglevoice project discussion board, comment # 17. Below are steps if one is starting from the scratch.
#Command line Google Voice:
#Updated Jan 10, 2013
#required tools:
sudo apt-get install python python-simplejson python-setuptools
sudo easy_install simplejson
# if gvoice was installed previously, then uninstall it:
sudo rm -r /usr/local/lib/python2.7/dist-packages/googlevoice
sudo rm /usr/local/lib/python2.7/dist-packages/pygooglevoice*
#download pygooglevoice:
wget http://pygooglevoice.googlecode.com/files/pygooglevoice-0.5.tar.gz
tar -xf pygooglevoice-0.5.tar.gz
cd pygooglevoice
# edit settings.py to match correct Google Voice URL on line # 22:
nano googlevoice/settings.py
#correct URL:
LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral'
#you may check if URL is linking to Google Voice login page in browser.
#save and quit settings.py
#install gvoice:
sudo python setup.py install
#Login and make call for the first time:
gvoice # enter login email/pwd
gvoice> call #follow prompts and make a call
gvoice>send_sms # or s to send sms
gvoice>exit #quit gvoice
#After first login, you may like to edit .gvoice for default actions:
sudo nano ~/.gvoice
#end