Skip to content

Instantly share code, notes, and snippets.

@Ansen
Last active July 18, 2023 13:13
Show Gist options
  • Save Ansen/3974633b3adbd0a6abb1ef48bf89b27b to your computer and use it in GitHub Desktop.
Save Ansen/3974633b3adbd0a6abb1ef48bf89b27b to your computer and use it in GitHub Desktop.
Out-of-date, python27 send google voice msg.
# 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()
@doolindalton
Copy link

这个现在还能用吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment