Skip to content

Commit

Permalink
Add extra documentation on response types in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuDeBuck committed Feb 14, 2021
1 parent 4facf6f commit c651ad0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ if isinstance(result, Success):
print(result.request_id) # str
print(result.calls_remaining) # int
print(result.data) # ApiKeyDetails
print(result.permissions) # list of strings denoting the permissions
```

#### Create or update user
Expand Down Expand Up @@ -119,6 +120,8 @@ if isinstance(result, Success):
print(result.request_id) # str
print(result.calls_remaining) # int
print(result.data) # TrackingSnippetResonse
print(result.domain) # str
print(result.snippet) # str
```

### Handling errors
Expand Down

0 comments on commit c651ad0

Please sign in to comment.