Last active
July 18, 2023 13:13
-
-
Save Ansen/3974633b3adbd0a6abb1ef48bf89b27b to your computer and use it in GitHub Desktop.
Out-of-date, python27 send google voice msg.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Need to install googlevoice | |
# pip install googlevoice | |
from googlevoice import Voice | |
def run(): | |
username = "[email protected]" | |
pwd = "123456" | |
voice = Voice() | |
voice.login(email=username, passwd=pwd) | |
# msg to | |
phoneNumber = "+12222222222" | |
text = "test msg." | |
voice.send_sms(phoneNumber, text) | |
if __name__ == '__main__': | |
run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
删除了