Vonage API / Google Cloud Examples
This repository contains code examples to use with Google Cloud.
Getting Started
To get started - please make sure you have the following:
Get A Vonage Phone Number
All of the examples require a Vonage phone number and this can be achieved with the Nexmo CLI. Install the CLI by following these instructions.
Buying a Number
You can purchase a phone number using the following command. Replace the country code with your appropriate code. For more information on SMS Countries and Features go to https://help.nexmo.com/hc/en-us/articles/115011451687-SMS-Numbers-Features-Overview
nexmo number:buy --country_code USCurrent Examples
SMS Translation with Google Cloud Translation API
SMS Messages sent through Vonage API will be sent to Google Cloud Translation API and the translation returned to the console.
SMS with Firebase Functions
SMS Messages sent through Vonage API will be sent to Google Cloud Translation API and the translation returned to the console.
SMS Sentiment Analysis with Google Natural Language API
SMS Messages sent through Vonage API will be sent to Google Natural Language API and a series of scores and tones returned to the console.
Google Cloud Speech Transcription
An audio stream is sent via websocket connection to your server and then relayed to the Google streaming interface. Speech recognition is performed and the text returned to the console.
Getting Help
We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:
- Open an issue on this repository
- Tweet at us! We're @VonageDev on Twitter
- Or join the Vonage Community Slack