You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f"Account balance is: {client.account.get_balance()}")
80
80
81
81
print("Sending an SMS")
82
-
client.sms.send_message(
82
+
client.sms.send_message({
83
83
"from": "Vonage",
84
84
"to": "SOME_PHONE_NUMBER",
85
85
"text": "Hello from Vonage's SMS API"
86
-
)
86
+
})
87
87
```
88
88
89
89
This means you don't have to create a separate instance of each class to use its API methods. Instead, you can access class methods from the client instance with
0 commit comments