Python Google Voice =================== Joe McCall & Justin Quick Exposing the Google Voice "API" to the Python language ------------------------------------------------------- Google Voice for Python Allows you to place calls, send sms, download voicemail, and check the various folders of your Google Voice Accounts. You can use the Python API or command line script to schedule calls, check for new recieved calls/sms, or even sync your recorded voicemails/calls. Works for Python 2 and Python 3 API Documentation is available at http://sphinxdoc.github.com/pygooglevoice/ INSTALLATION ============ 1. Login to your Linux machine as yourself, a regular user (not root) 2. Extract the tar file gvmirror.tar.gz in your home directory 3. If you do not already have .gvoice file in your home directory, create one as follows: cd ~/gvmirror [ -f ~/.gvoice ] || cp dot.gvoice ~/.gvoice 4. Edit ~/.gvoice by typing: vi ~/.gvoice NOTE: In this file, please put your correct google account name, password and corresponding google voice phone number for fields email, password and forwardingNumber respectively 5. Just run the script as follows: ~/gvmirror/mirror-murty.py 6. Feel free to browse the downloaded files in the directory: ~/gvoice/ 7. You may run the script again or nightly through cron if you want! 8. Each time you run the script, it will only download the new messages, not all your messages. ----------- pygooglevoice package is the fork of original pygooglevoice package maintained by Arno Hautala at https://bitbucket.org/fracai/pygooglevoice ----------- User agent for Android: Mozilla/5.0 (Linux; U; Android 2.2.1; fr-ch; A43 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 ------------------------- URLs located at this page: http://www.googlevoice.org/pages.php?title=sniffing https://www.google.com/voice/inbox/message/?messageId=3fe3c0f7d61173c67da60d3691e70b9a14f09bf8&v=634 https://www.google.com/voice/inbox/message/?messageId=3fe3c0f7d61173c67da60d3691e70b9a14f09bf8 ------ name=_rnr_se value=FjhSozhzWprabboFUQ0bVo5jWmo= User agent: default https://www.google.com/voice/m?uipref=1 https://www.google.com/voice/m?uipref=1#~voice:s=conversation&i=5f6f1046d79bdc528368f07a5ca647c8efebcf91 After setting User agent to iPhone 3.0: https://www.google.com/voice/m#~voice:s=inbox&l=sms https://www.google.com/voice/m#~voice:s=conversation&i=47e9c4c4a3ad8f7751b0d1c13e4a1b9cbe8afa4d --- TO get just times: User agent: default https://www.google.com/voice#message/5f6f1046d79bdc528368f07a5ca647c8efebcf91 https://www.google.com/voice/#message/5f6f1046d79bdc528368f07a5ca647c8efebcf91 https://www.google.com/voice/inbox/#message/47e9c4c4a3ad8f7751b0d1c13e4a1b9cbe8afa4d All Parent SMS: https://www.google.com/voice/m/i/sms https://www.google.com/voice/m/i/sms?p=2 etc All voicemail: https://www.google.com/voice/m/i/voicemail https://www.google.com/voice/m/i/voicemail/?p=2 --- Google Voice CPAN http://search.cpan.org/~tempire/Google-Voice-0.03/lib/Google/Voice.pm https://www.gvmax.com/ https://code.google.com/p/gtalksms/ --- testing sms id: aa7d04fc9b7145e43db1f5afa9c007ca3e179eca Get Parent SMS messages in XML: https://www.google.com/voice/inbox/recent/sms/ https://www.google.com/voice/inbox/recent/sms/?page=p2 ... etc https://www.google.com/voice/inbox/recent/unread/ https://www.google.com/voice/m/i/unread Get Complete SMS chain for a given parent message in XML: https://www.google.com/voice/inbox/message/?messageId=ID https://www.google.com/voice/inbox/message/?messageId=ID&page=p2 ... etc
Get screenshot2.png (25.7 KB).
Get screenshot1.png (29.6 KB).
File has been deleted.
File has been deleted.
Get gvmirror.tar.gz (13.3 KB).
1fcded8 - Minor Changes and Fixed LOGIN url to work with changed google voice page
ea708f0 - Combined mirror-sms.py and mirror-nonsms.py into a single script
7e0273b - Added TODO file
c312e4d - Fixed LICENSE and README files