当前位置: 首页 >> 榆树网-网络 >> 文章正文

Google Voice API

hanks to the post inhttp://posttopic.com/topic/google-voice-add-on-development it should be easy to develop applications that use Google Voice platform. The API is a simple REST API that POSTs requests to the Google Voice portal:

Placing Calls:
POST /voice/call/connect/ outgoingNumber=[number to call]&forwardingNumber=[forwarding number]&subscriberNumber=undefined&remember=0&_rnr_se=[pull from page]

Canceling Calls:
POST /voice/call/cancel/ outgoingNumber=undefined&forwardingNumber=undefined&cancelType=C2C&_rnr_se=[pull from page]

Sending an SMS:
POST /voice/sms/send/ id=&phoneNumber=[number to text]&text=[URL Encoded message]&_rnr_se=[pull from page]

Inbox XML:
https://www.google.com/voice/inbox/recent/inbox/

Starred Calls XML:
https://www.google.com/voice/inbox/recent/starred/

All Calls XML:
https://www.google.com/voice/inbox/recent/all/

Spam XML:
https://www.google.com/voice/inbox/recent/spam/

Trash XML:
https://www.google.com/voice/inbox/recent/trash/

Voicemail XML:
https://www.google.com/voice/inbox/recent/voicemail/

SMS XML:
https://www.google.com/voice/inbox/recent/sms/

Recorded Calls XML:
https://www.google.com/voice/inbox/recent/recorded/

Placed Calls XML:
https://www.google.com/voice/inbox/recent/placed/

Received Calls XML:
https://www.google.com/voice/inbox/recent/received/

Missed Calls XML:
https://www.google.com/voice/inbox/recent/missed/

转自:http://adriel.dynalias.com/blog/?p=252

相关文章

发表评论