Skip to content

Python code examples for using Vonage communications APIs

License

Notifications You must be signed in to change notification settings

krsboone/vonage-python-code-snippets

 
 

Repository files navigation

Nexmo Code Snippets for Python

Author Issues License Stars Forks Last Commit Maintained Size

Nexmo is now known as Vonage

Code snippets also available for: Java, .NET, Node.js, PHP, Ruby, Curl, Go and Android

The purpose of the Code Snippets is to provide simple examples focused on one goal. For example, sending an SMS, handling an incoming SMS webhook, or making a Text to Speech call.

Setup

These code samples are meant to be used for https://developer.nexmo.com/, and are structured in such a way as to be used for internal testing. Developers are free to use these code snippets as a reference, but these may require changes to be worked into your specific application. We recommend checking out the Nexmo Developer Website, which displays these code snippets in a more copy/paste fashion.

To use the examples, you will first need a Nexmo account. Then rename the example.env file to .env and set the values as required.

For some of the examples you will need to buy a number.

Running the Examples

If you would like to run these examples yourself, you will need to do the following:

All the examples run from a Flask server.

Install any dependencies:

pip install -r requirements.txt

Run the server:

python server.py

Navigate to the appropriate route defined in server.py to execute the example.

Request an Example

Please raise an issue to request an example that isn't present within the quickstart. Pull requests will be gratefully received.

License

MIT

About

Python code examples for using Vonage communications APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%