We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fa88f3 commit 728fa23Copy full SHA for 728fa23
app/click/examples/eg005_clickwrap_responses.py
@@ -21,16 +21,20 @@ def worker(args):
21
2. Get clickwrap responses using SDK
22
"""
23
# Step 1. Create an API client with headers
24
+ #ds-snippet-start:Click5Step2
25
api_client = create_click_api_client(
26
access_token=args["access_token"]
27
)
28
+ #ds-snippet-end:Click5Step2
29
30
# Step 2. Get clickwrap responses using SDK
31
+ #ds-snippet-start:Click5Step3
32
accounts_api = AccountsApi(api_client)
33
response = accounts_api.get_clickwrap_agreements(
34
account_id=args["account_id"],
35
clickwrap_id=args["clickwrap_id"],
36
status="agreed"
37
38
+ #ds-snippet-end:Click5Step3
39
40
return response
0 commit comments