问题
Is there an API (officially or unofficially) for Google Voice? I would like to have an API to work with voicemails, send/receive SMS messages, initiate calls, etc.
What is the Android client using? Something internal? Has anyone documented it?
回答1:
No, there is no API for Google Voice as of 2019.
"pygooglevoice" can perform most of the voice functions from Python. It can send SMS. I've developed code to receive SMS messages, but the overhead is excessive given the current Google Voice interface. Each poll returns over 100K of content, so you'd use a quarter-gigabyte a day just polling every 30 seconds. There's a discussion on Google Code about this.
回答2:
There is a C# Google Voice API... there is limited documentation, however the download has an application that 'works' using the API that is included:
https://sourceforge.net/projects/gvoicedotnet/
回答3:
I looked for a C/C++ API for Google Voice for quite a while and never found anything close (the closest was a C# API). Since I really needed it, I decided to just write one myself:
http://github.com/mastermind202/GoogleVoice
I hope others find it useful. Feedback and suggestions welcome.
回答4:
Well... These are PHP. There is an sms one from google here.
And github has one here.
Another sms one is here. However, this one has a lot more code, so it may take up more space.
回答5:
I needed a C# API and after spending hours looking for it (all I found was outdated and non-working) and unsuccessfully trying to port the PHP/Python/Java versions listed here (none worked either) I decided to create my own. It's SMS-only for now...
https://bitbucket.org/jitbit/sharpgooglevoice/wiki/Home
回答6:
Be nice if there was a Javascript API version. That way can integrate w/ other AJAX apps or browser extensions/gadgets/widgets.
Right now, current APIs restrict to web app technologies that support Java, .NET, or Python, more for server side, unless may use Google Web Toolkit to translate Java code to Javascript.
来源:https://stackoverflow.com/questions/1668619/is-there-a-google-voice-api