Skip to content
Myr

Merge pull request #3658 from elzapp/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Formatted the example to fix the color highlighting

authored by Cory Benfield · committed by GitHub · parents 595a409, 388e949 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/authentication.rst+1 added-1 removed
65 unmodified lines
66 >>> from requests_oauthlib import OAuth16768 >>> url = 'https://api.twitter.com/1.1/account/verify_credentials.json'69 >>> auth = OAuth1('YOUR_APP_KEY', 'YOUR_APP_SECRET',70 'USER_OAUTH_TOKEN', 'USER_OAUTH_TOKEN_SECRET')70 ... 'USER_OAUTH_TOKEN', 'USER_OAUTH_TOKEN_SECRET')7172 >>> requests.get(url, auth=auth)73 <Response [200]>74
54 unmodified lines