Skip to main content

Python SDK for Vonage Cloud Runtime

Project description

Vonage Cloud Runtime SDK for Python

This is the Python SDK for Vonage Cloud Runtime. To use it you will need a Vonage account. Sign up for free at vonage.com.

For full documentation refer to developer.vonage.com.

Installation

To install the SDK run:

pip install vonage_cloud_runtime

Usage

The Vonage Cloud Runtime SDK gives you access to providers which help you build powerful communication applications with Vonage. As an example here is how you can listen for incoming calls to your Vonage Application with the Voice provider:

from vonage_cloud_runtime.vcr import VCR
from vonage_cloud_runtime.providers.voice.voice import Voice

vcr = VCR()
session = vcr.createSession()
voice = Voice(session)

await voice.onCall("onCall")

@app.post('/onCall')
async def onAnswer():
    return  [
                {
                    'action': 'talk',
                    'text': 'Hi from Vonage!'
                }
        ]

Get Started

The Vonage Cloud Runtime SDK has been designed for use with the Vonage Cloud Runtime Marketplace. There you will find prebuilt solutions to common communication workflows with Vonage, where you can try them out and edit them to fit your use case. Once finished, you can deploy the application and let Vonage manage the hosting for you.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vonage_cloud_runtime-1.4.0b1.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

vonage_cloud_runtime-1.4.0b1-py3-none-any.whl (149.9 kB view details)

Uploaded Python 3

File details

Details for the file vonage_cloud_runtime-1.4.0b1.tar.gz.

File metadata

  • Download URL: vonage_cloud_runtime-1.4.0b1.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.5 Linux/6.5.0-1025-azure

File hashes

Hashes for vonage_cloud_runtime-1.4.0b1.tar.gz
Algorithm Hash digest
SHA256 d8a439f5323303508cc8cdf8f7f419af1f9872b07f93409bb14c850f24b915de
MD5 d360c93248da2c76b17bdd031f8d49d7
BLAKE2b-256 9d0fbbe8e689ff7cd34da14451d4a947ec8e656e24df9ec4aa7086d3e9fc25eb

See more details on using hashes here.

File details

Details for the file vonage_cloud_runtime-1.4.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for vonage_cloud_runtime-1.4.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 d518d2e1d7321e1215b21f423306e43943ba59e6130a13fc3893b6ba344463e3
MD5 10b98d2ab8723e632c3dc084870798bf
BLAKE2b-256 77e9b3d58c4b968be95f4e1dc6cc6d1ed3c05c74ee2532c2fc924352da888630

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page