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.0b0.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

vonage_cloud_runtime-1.4.0b0-py3-none-any.whl (150.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vonage_cloud_runtime-1.4.0b0.tar.gz
  • Upload date:
  • Size: 38.9 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.0b0.tar.gz
Algorithm Hash digest
SHA256 0d1c5e6f843e297153fa95de1a2e9d1331af2aeae8fdf50f7c0916295e113bd7
MD5 8e8abefe19e9bfce300261f90fc65b8f
BLAKE2b-256 c2420fcf1c73f528b387fd945a286310c5345e30c1da51b83cb35636a43aa1bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vonage_cloud_runtime-1.4.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 f961cf0d480987fea6626130980ad5c12936a2297b29a42ee1f4a0c113513972
MD5 e19af1caf673db2f5233d27f5215ba01
BLAKE2b-256 d09d78e6ef5d2bc375229193c7f45d4a9d48435d946c64d6b1687cc79127cbda

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