Python Google Voice

后端 未结 1 1090
悲&欢浪女
悲&欢浪女 2021-01-01 05:16

I am using the google voice API from here, and trying to send text messages from Python. However, whenever I try to log in using this code, I get something I do not expect:<

相关标签:
1条回答
  • 2021-01-01 06:10

    Somehow, this has made it work now:

    from googlevoice import Voice
    from googlevoice.util import input
    import sys
    import BeautifulSoup
    import fileinput
    
    import Listen #A voice recognition script I wrote
    
    def login():
        username, password = "xyz@gmail.com", "******"
    
        voice = Voice()
        client = voice.login(username, password)
        return client
    

    The only thing different that I've done is changed some of the libraries I've imported, but I can finally get past that "Email Address: " error, and run the rest of my code. have yet to try and test it my sending a text yet though!

    @Merlin2011 and @jknupp17, thank you so much for your suggestions!

    0 讨论(0)
提交回复
热议问题