Skip to content

Commit fe028d0

Browse files
docs: swap examples used in readme (#141)
1 parent 850838e commit fe028d0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,10 @@ from arcadepy import Arcade
9090

9191
client = Arcade()
9292

93-
authorization_response = client.auth.authorize(
94-
auth_requirement={
95-
"id": "id",
96-
"oauth2": {"scopes": ["string"]},
97-
"provider_id": "provider_id",
98-
"provider_type": "provider_type",
99-
},
100-
user_id="user_id",
93+
chat_response = client.chat.completions.create(
94+
response_format={"type": "json_object"},
10195
)
102-
print(authorization_response.auth_requirement)
96+
print(chat_response.response_format)
10397
```
10498

10599
## Handling errors

0 commit comments

Comments
 (0)