Skip to content
Myr

Fixed example in authentication docs

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

authored by giacomo · committed by giacomo · parent e585e49 · 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
47 unmodified lines
48----------------------4950A common form of authentication for several web APIs is OAuth. The ``requests-oauthlib`` library allows Requests users to easily make OAuth authenticated requests::5152 >>> import request52 >>> import requests53 >>> from requests_oauthlib import OAuth15455 >>> url = 'https://api.twitter.com/1.1/account/verify_credentials.json'56 >>> auth = OAuth1('YOUR_APP_KEY', 'YOUR_APP_SECRET',
47 unmodified lines