Skip to content

Commit 57cffc4

Browse files
committed
Removed unnecessary pprint from README
1 parent 33d9789 commit 57cffc4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Below is an example on how to login to the API and fetch your own user informati
2929
# Step 1. We begin with creating a Configuration, which contains the username and password for authentication.
3030
import vrchatapi
3131
from vrchatapi.api import authentication_api, users_api
32-
from pprint import pprint
3332

3433
configuration = vrchatapi.Configuration(
3534
username = 'username',
@@ -48,9 +47,9 @@ with vrchatapi.ApiClient(configuration) as api_client:
4847
try:
4948
# Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in.
5049
current_user = auth_api.get_current_user()
51-
pprint("Logged in as:", current_user.display_name)
50+
print("Logged in as:", current_user.display_name)
5251
except vrchatapi.ApiException as e:
53-
print("Exception when calling API: %s\n" % e)
52+
print("Exception when calling API: %s\n", e)
5453
```
5554

5655
See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started.

0 commit comments

Comments
 (0)