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-2.1.5b5.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vonage_cloud_runtime-2.1.5b5-py3-none-any.whl (132.2 kB view details)

Uploaded Python 3

File details

Details for the file vonage_cloud_runtime-2.1.5b5.tar.gz.

File metadata

  • Download URL: vonage_cloud_runtime-2.1.5b5.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.0 CPython/3.10.5 Linux/6.17.0-1010-azure

File hashes

Hashes for vonage_cloud_runtime-2.1.5b5.tar.gz
Algorithm Hash digest
SHA256 a23daf49cc9939c8a4f884bd957b7b54e8148bc23f4c1084c5e8c405d4dd57b1
MD5 65d4377afa0e8f93b1fcf99d924ff7ff
BLAKE2b-256 66f59e2f9d5ef163e16e1781f47d1653b47618d54f5a211fb3e553dabed42ca4

See more details on using hashes here.

File details

Details for the file vonage_cloud_runtime-2.1.5b5-py3-none-any.whl.

File metadata

File hashes

Hashes for vonage_cloud_runtime-2.1.5b5-py3-none-any.whl
Algorithm Hash digest
SHA256 d9da6f41204f8e1014d4cc1408868c30d12b77109cee06d67c7cffbe08cc94c8
MD5 35557a45de6727a621140735a0862a71
BLAKE2b-256 ab889ec4e4d5b130b34462839ebcf10b0c5f460e7070a5c02fd3b6c59cfa770a

See more details on using hashes here.

Supported by

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