Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 2.18 KB

README.md

File metadata and controls

53 lines (32 loc) · 2.18 KB

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:

  1. Vonage API (formerly Nexmo) account
  2. Google Cloud account

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 US

Current 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.

JavaScript

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.

JavaScript

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.

JavaScript

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.

JavaScript

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: