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.0.0.tar.gz (32.9 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.0.0-py3-none-any.whl (132.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vonage_cloud_runtime-2.0.0.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.5 Linux/6.11.0-1018-azure

File hashes

Hashes for vonage_cloud_runtime-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ea0703e345cbd5e189588ea0bc24217a0662db610ee881b88980bdb5656da042
MD5 2c73e569874fa583eaa381a716b12e2c
BLAKE2b-256 ec952ff3ab2542790cc5587bbcf581696daffad4b11aa1f16ca03670fe5a0574

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vonage_cloud_runtime-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 132.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.5 Linux/6.11.0-1018-azure

File hashes

Hashes for vonage_cloud_runtime-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0c2a67c2aa9c2576b87bf13811b73708c0428ecd4896d060209f86d6f07021
MD5 2077a3afcb83f4b5fbf16383b26abd74
BLAKE2b-256 8aa8a364bedc9f06be633acfe51e2412da0e1095aacfc0551cf199f9f002f0e2

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