Skip to content

Commit c67a953

Browse files
committed
Put back email_address and provider example
This works now with the hosted API after 4630214
1 parent c3e21c0 commit c67a953

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ implementing the auth flow.
7575
```python
7676
client = APIClient(APP_ID, APP_SECRET, token)
7777

78-
# Print out the account_id
79-
account = client.accounts.first()
80-
print account.as_json()
81-
print account.as_json()['account_id']
78+
# Print out the email address and provider (Gmail, Exchange)
79+
print client.account.email_address
80+
print client.account.provider
8281
```
8382

8483

0 commit comments

Comments
 (0)