Skip to content

Instantly share code, notes, and snippets.

@Ansen
Last active July 18, 2023 13:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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 = "zxcv@gmail.com"
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()
@Ansen
Copy link
Author

Ansen commented Feb 18, 2019

注意不要放到国内服务器上,原因你懂的

已无法使用

替代

无需IFTTT 用Google自家服务为Google Voice保号

@668168
Copy link

668168 commented Feb 19, 2019

哥们,from six.moves import input
这个库没用吧?

@turing0
Copy link

turing0 commented Apr 13, 2021

哥们,from six.moves import input
这个库没用吧?

确实 没用到

@Ansen
Copy link
Author

Ansen commented Apr 13, 2021

哥们,from six.moves import input
这个库没用吧?

删除了

@doolindalton
Copy link

这个现在还能用吗

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