• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

aaronpk/Google-Voice-PHP-API: Unmaintaned: Please do not contact me with support ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

aaronpk/Google-Voice-PHP-API

开源软件地址(OpenSource Url):

https://github.com/aaronpk/Google-Voice-PHP-API

开源编程语言(OpenSource Language):

PHP 100.0%

开源软件介绍(OpenSource Introduction):

No Maintenance Intended

Google Voice PHP API

An API to interact with Google Voice using PHP.

Currently the API can place calls, cancel previously placed calls, send and receive SMS messages, add a note to or remove a note from a message or voicemail, mark a message or voicemail as read or unread, and download transcriptions and/or MP3 files of voicemail. Feel free to implement new functionality and send me your changes so I can incorporate them into this library!

getUnreadSMS, getReadSMS, getUnreadVoicemail, and getReadVoicemail all return an array of JSON objects. Each object has the following attributes, example values included:

$msg->id = c3716aa447a19c7e2e7347f443dd29091401ae13
$msg->phoneNumber = +15555555555
$msg->displayNumber = (555) 555-5555
$msg->startTime = 1359918736555
$msg->displayStartDateTime = 2/3/13 5:55 PM
$msg->displayStartTime = 5:55 PM
$msg->relativeStartTime = 5 hours ago
$msg->note = 
$msg->isRead = true
$msg->isSpam = false
$msg->isTrash = false
$msg->star: = alse
$msg->messageText = Hello, cellphone.
$msg->labels = [sms,all]
$msg->type = 11
$msg->children = 

Note: Receiving SMSs and voicemails is mostly unnecessary via this API since Google now allows SMSs to be forwarded to an email address. It is a better idea to parse those incoming emails with a script.

SMS and Voice Integration

For better SMS and voice integration with your web app, check out Tropo at tropo.com. Tropo is free for development, and you will get better results than using unsupported Google Voice API calls.

Check out some sample apps built with Tropo

Disclaimer

This code is provided for educational purposes only. This code may stop working at any time if Google changes their login mechanism or their web pages. You agree that by downloading this code you agree to use it solely at your own risk.

License

Copyright 2009 by Aaron Parecki http://aaronparecki.com

See LICENSE




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap