Releases: Vonage/vonage-python-sdk
Releases · Vonage/vonage-python-sdk
Messages API support
Adding support for v1.0 of the Vonage Messages API
Adding classes for more APIs, Client class now instantiates API classes so methods can be called consistently
- 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 ofAccount
,Sms
,NumberInsight
etc. These instances can now be called directly fromClient
, 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"
)
2.6.4
2.6.3
v2.5.3
- Minor patches to reflect Vonage namespace changes
v2.5.2
- 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
Application V2 Release
2.4.0
- Application V2 API added under
Client.application_v2
- Existing application methods under
Client
are now deprecated.