任何 Google Voice API 仍然可以使用吗?
我有兴趣编写一个简单的 CLI 程序,该程序将使用 Google Voice 发送短信。
有几个脚本和一个或两个 API 可用,但我遇到了一个问题,它们似乎都不再起作用;因为它们主要依赖于解析返回的网页。
有人熟悉当前的 API,可以让我在 Google Voice 上发送短信吗?
谢谢!
I am interested in writing a simple CLI program that will send an SMS using Google Voice.
There are several scripts and an API or two available, but I have run into an issue that none of them seem to work any longer; as they mostly rely on parsing returned web pages.
Is anyone familiar with a current API that works so that I can send an SMS on Google Voice?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来 Google Voice 更改了登录过程,现在它希望您传回 cookie。 Python 包装器的这个问题总结如下:http://code.google .com/p/pygooglevoice/issues/detail?id=60
更新和修复:实际上,所需要做的就是更改代码中的登录网址:
旧网址 - https://www.google.com/accounts/ServiceLoginAuth?service=grandcentral< /a>
新网址 - https://accounts.google.com/ServiceLogin?service=grandcentral
Looks like Google Voice changed the login procedure, and it now expects you to pass back a cookie. This issue for the Python wrapper sums it up: http://code.google.com/p/pygooglevoice/issues/detail?id=60
UPDATE AND FIX: Actually all that needs to happen is to change the login URL in your code:
Old URL - https://www.google.com/accounts/ServiceLoginAuth?service=grandcentral
New URL - https://accounts.google.com/ServiceLogin?service=grandcentral