Skip to content

Commit

Permalink
Improve documentation for Client parameters
Browse files Browse the repository at this point in the history
Specify OAuth 1.0a or 2.0 and indicate bearer_token as OAuth 2.0 access token as well
  • Loading branch information
Harmon758 committed Feb 27, 2022
1 parent 2a59efb commit d81881e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tweepy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,15 @@ class Client(BaseClient):
Parameters
----------
bearer_token : str | None
Twitter API Bearer Token
Twitter API OAuth 2.0 Bearer Token / Access Token
consumer_key : str | None
Twitter API Consumer Key
Twitter API OAuth 1.0a Consumer Key
consumer_secret : str | None
Twitter API Consumer Secret
Twitter API OAuth 1.0a Consumer Secret
access_token : str | None
Twitter API Access Token
Twitter API OAuth 1.0a Access Token
access_token_secret : str | None
Twitter API Access Token Secret
Twitter API OAuth 1.0a Access Token Secret
return_type : type[dict | requests.Response | Response]
Type to return from requests to the API
wait_on_rate_limit : bool
Expand Down

0 comments on commit d81881e

Please sign in to comment.