Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olivier-salmon/py-tts-hebrew-sample-code
Python Sample code to send a voice message in Hebrew to a user
https://github.com/olivier-salmon/py-tts-hebrew-sample-code
Last synced: 2 days ago
JSON representation
Python Sample code to send a voice message in Hebrew to a user
- Host: GitHub
- URL: https://github.com/olivier-salmon/py-tts-hebrew-sample-code
- Owner: olivier-salmon
- Created: 2018-07-02T15:27:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T16:47:07.000Z (over 6 years ago)
- Last Synced: 2024-08-02T13:24:45.415Z (3 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# py-tts-hebrew-sample-code
This is a Python Sample code showing how to send a voice message in Hebrew to a user's phone using the Nexmo Voice API
Video explanation: https://www.youtube.com/watch?v=RJOj8K68Vso
Requirements
- Create a Nexmo account (free)
- Create an application and save the private key
- Rent a Nexmo number (make sure you have enough credits)
- Link your Nexmo number to your voice applicationCode configuration
- add your application_id (line 3)
- make sure you pointthe private_key (line 4) to your application private key file
- set the phone number (international format) of the recipient (line 9)
- set the phone number (international format) of the caller (line 10). This is the number you've rented and linked to the Nexmo application
- set the answer_url to your json fileNCCO (Nexmo Call Control Object)
- the file needs to be of a mime type application/json
- it contains one action: talk
- the voiceName determine the language. Here Carmit is Hebrew
- text is the text that will be said to the end user