Vonage Server SDK for Python. API support for Voice, SMS, WhatsApp, Verify (2FA), Video Meetings and more.
APACHE-2.0 License
Published by maxkahan over 1 year ago
video
, file
)sticker
message channelclient_ref
max value to 100 characterspay
action in the NCCO builder as it is being removed by VonagePublished by maxkahan almost 2 years ago
Fixes an import bug experienced by some users
Published by maxkahan almost 2 years ago
Fixes an import bug with the new NCCO builder
Published by maxkahan almost 2 years ago
pip install --pre vonage
Published by maxkahan almost 2 years ago
Contains base functionality of session creation, signalling, moderation and archiving.
Published by maxkahan about 2 years ago
Published by maxkahan about 2 years ago
Fixing bug with auth selection in messages.py
module
Published by maxkahan about 2 years ago
Published by maxkahan over 2 years ago
Deprecates a lot of old methods, lots of internal refactoring, adding support for a couple of new endpoints.
Breaking changes:
client.py
that are now available in specific modules related to each of the available Vonage APIs. E.g. to call the number insight API, the methods are now called in this way: client.number_insight.get_basic_number_insight(...)
, or by instantiating the NumberInsight
class directly: ni = vonage.NumberInsight(client)
, ni.get_basic_number_insight(...)
etc.sms
, voice
or verify
object. You can now use these APIs from a client instance you create (e.g. client.sms.send_message()
) or pass in a client to the API class to create it (e.g. sms = vonage.Sms(client)
), as has been the case since v2.7.0 of the SDK.voice.py
(initiate_call, initiate_tts_call and initiate_tts_prompt_call
) and number_insight.py
(request_number_insight
).client.application.create_application(...)
etc. or directly with application = vonage.Application(client)
, application.create_application(...)
etc.get_sms_pricing
and get_voice_pricing
.Account.delete_secret()
method to revoke_secret()
to bring it in line with what is described in our documentation.Enhancements:
get_all_countries_pricing
method to Account
object.type
parameter for pricing calls, so sms
or voice
pricing can now be chosen.max_retries
, timeout
, pool_connections
and pool_maxsize
optional keyword arguments to the Client
class, which can now be specified on instantiation and used in the API calls made with the client.Published by maxkahan over 2 years ago
Adding support for v1.0 of the Vonage Messages API
Published by maxkahan over 2 years ago
account.py, application.py, message_search.py, number_insight.py, numbers.py, short_codes.py, ussd.py
vonage.Client(key="mykey", secret="mysecret")
Account
, Sms
, NumberInsight
etc. These instances can now be called directly from Client
, e.g.client = vonage.Client(key="mykey", secret="mysecret")
print(f"Account balance is: {client.account.get_balance()}")
print("Sending an SMS")
client.sms.send_message(
"from": "Vonage",
"to": "SOME_PHONE_NUMBER",
"text": "Hello from Vonage's SMS API"
)
Published by maxkahan over 2 years ago
max_retries
option to the BasicAuthenticationServer
constructor, specifying optional parametersPublished by maxkahan over 2 years ago
Published by superdiana almost 4 years ago
Patched issues with PyJWT >1.8 (TypeError: can't concat str to bytes)
This patch ensures all versions of PyJWT are supported.
Published by superdiana about 4 years ago
Published by superdiana about 4 years ago
Published by judy2k over 5 years ago
Client.application_v2
Client
are now deprecated.Published by judy2k about 7 years ago