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.3.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

vonage_cloud_runtime-1.3.0-py3-none-any.whl (134.5 kB view details)

Uploaded Python 3

File details

Details for the file vonage_cloud_runtime-1.3.0.tar.gz.

File metadata

  • Download URL: vonage_cloud_runtime-1.3.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.5 Linux/6.2.0-1019-azure

File hashes

Hashes for vonage_cloud_runtime-1.3.0.tar.gz
Algorithm Hash digest
SHA256 cf8f3e907f6ee465c9fd864be131fe2ecc7d068b54705a8df52b1bce36ac3d25
MD5 dcf01aeab8ec441dfccc4bddc85804ff
BLAKE2b-256 dd4261ff559febccfced81b78d1115c5090f668d9f92e8da1fcd374735594d80

See more details on using hashes here.

File details

Details for the file vonage_cloud_runtime-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vonage_cloud_runtime-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44c28d9bf8232f5eae474e7bd6095936101a2c775ecf4ef6bcce9dc0f7e9f5e4
MD5 5afd5823c38e5526d6bdd994d4e97c9f
BLAKE2b-256 4f2bb5e6bb2e86cc5856cf306cb8b382c16c550e4a650919041cf74eaa2ea6e1

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