Skip to content

Commit c8a99a7

Browse files
authored
Fixing typo in README.md
1 parent ab38801 commit c8a99a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ client = vonage.Client(key="mykey", secret="mysecret")
7979
print(f"Account balance is: {client.account.get_balance()}")
8080

8181
print("Sending an SMS")
82-
client.sms.send_message(
82+
client.sms.send_message({
8383
"from": "Vonage",
8484
"to": "SOME_PHONE_NUMBER",
8585
"text": "Hello from Vonage's SMS API"
86-
)
86+
})
8787
```
8888

8989
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

Comments
 (0)