很好玩
看這裏:
https://pypi.org/project/googlevoice/
如果你已經裝了什麽Python那就
>pip install googlevoice
裝這個package,然後
===========================
from six.moves import input 【這個大概不需要】
from googlevoice import Voice
voice = Voice()
gvuser = 'your gv acount, e.g. slow_quick@gmail.com'
gvpswd ='your gv account password in plain text'
voice.login(gvuser, gvpswd)
phoneNumber = 'phone number to send text to, US 10 digits, e.g. 4155551212'
text = 'hello from gv'
voice.send_sms(phoneNumber, text)
===========================
我從前用Twilio,免費用完了問我要錢,NND,一怒之下找著了這個。
免費Twilio隻能發給1個號碼,用完了就沒了。GV想發給誰發給誰