vonage-python-sdk

Vonage Server SDK for Python. API support for Voice, SMS, WhatsApp, Verify (2FA), Video Meetings and more.

APACHE-2.0 License

Downloads
189.7K
Stars
194
Committers
50
vonage-python-sdk - v3.3.0 release

Published by maxkahan over 1 year ago

  • Updated Messages API:
    • Added new messaging channels for Viber Service Messages (video, file)
    • Added new WhatsApp sticker message channel
    • Increased client_ref max value to 100 characters
  • Deprecated pay action in the NCCO builder as it is being removed by Vonage
vonage-python-sdk - v3.2.2 release

Published by maxkahan almost 2 years ago

Fixes an import bug experienced by some users

vonage-python-sdk - v3.2.1 release

Published by maxkahan almost 2 years ago

Fixes an import bug with the new NCCO builder

vonage-python-sdk -

Published by maxkahan almost 2 years ago

  • Adding NCCO Builder
vonage-python-sdk - Beta release of Vonage Video API Server SDK

Published by maxkahan almost 2 years ago

  • No functionality change from v3.2.0b0. Using a major version number to keep releases chronologically and numerically more synced up.
  • This is a beta version that can be installed with pip install --pre vonage
vonage-python-sdk - Beta release of Vonage Video API Server SDK

Published by maxkahan almost 2 years ago

Contains base functionality of session creation, signalling, moderation and archiving.

vonage-python-sdk - 3.1.0 release

Published by maxkahan about 2 years ago

  • Supporting Python 3.11
  • Upgrading and removing some dev dependencies
vonage-python-sdk - 3.0.2 release

Published by maxkahan about 2 years ago

Fixing bug with auth selection in messages.py module

vonage-python-sdk - 3.0.1 release

Published by maxkahan about 2 years ago

3.0.1

  • Fixed bug where a JWT was created globally and could expire. Now a new JWT is generated when a request is made.
  • Fixed bug where timeout was not passed to session object.
vonage-python-sdk - v3.0.0 release

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:

  • Removed deprecated methods from 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.
  • Removed automatic client creation when instantiating an 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.
  • Removed methods to call the Message Search API, which has been retired by Vonage.
  • Removed deprecated voice and number insight methods from voice.py (initiate_call, initiate_tts_call and initiate_tts_prompt_call) and number_insight.py (request_number_insight).
  • Deprecated the ApplicationV2 class and created an Application class with the same methods to bring the naming in line with other classes. This can be called from the client object with client.application.create_application(...) etc. or directly with application = vonage.Application(client), application.create_application(...) etc.
  • Deprecated old Pricing API methods get_sms_pricing and get_voice_pricing.
  • Deprecated Redact class as it's a dev preview product that's unsupported in the SDK and will be removed in a later release.
  • Renamed the Account.delete_secret() method to revoke_secret() to bring it in line with what is described in our documentation.

Enhancements:

  • Added get_all_countries_pricing method to Account object.
  • Added a type parameter for pricing calls, so sms or voice pricing can now be chosen.
  • Added 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.
vonage-python-sdk - Messages API support

Published by maxkahan over 2 years ago

Adding support for v1.0 of the Vonage Messages API

  • Moved some client methods into their own classes: account.py, application.py, message_search.py, number_insight.py, numbers.py, short_codes.py, ussd.py
  • Deprecated the corresponding client methods. These will be removed in a major release that's coming soon.
  • Client now instantiates a class object for each API when it is created, e.g. vonage.Client(key="mykey", secret="mysecret")
    instantiates instances of 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"
)

vonage-python-sdk - 2.6.4

Published by maxkahan over 2 years ago

  • Adding default max_retries option to the BasicAuthenticationServer constructor, specifying optional parameters
vonage-python-sdk - 2.6.3

Published by maxkahan over 2 years ago

  • Dropped support for Python 3.6 and below
  • Now supporting currently supported stable versions of Python, i.e. Python 3.7-3.10
  • Internal refactoring and enhancements
vonage-python-sdk - v2.5.5

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.

vonage-python-sdk - v2.5.3

Published by superdiana about 4 years ago

  • Minor patches to reflect Vonage namespace changes
vonage-python-sdk - v2.5.2

Published by superdiana about 4 years ago

  • Support for Independent SMS, Voice and Verify APIs with tests as well as current client methods
  • Getters/Setters to extract/rewrite custom attributes
  • PSD2 Verification support
  • Dropping support for Python 2.7
  • Roadmap to better error handling
  • Supporting Python 3.8
vonage-python-sdk - Application V2 Release

Published by judy2k over 5 years ago

2.4.0

  • Application V2 API added under Client.application_v2
  • Existing application methods under Client are now deprecated.
vonage-python-sdk -

Published by judy2k over 6 years ago

  • Added support for get_recording
  • Added support for SMS conversion
  • Added debug logging for most calls, under the 'nexmo' logger.
  • Internal refactoring (affects only private methods.)
vonage-python-sdk - v2.0.0

Published by judy2k about 7 years ago

  • Drop support for Python 3.3 (in line with the cryptography library we depend upon)
  • Ensure timestamp is added the params list if signing requests
  • Avoid value injection in signature auth.
  • Add support for different hashes for signature generation (thanks @trancee!)
  • Tests ported to pytest