From: Harmon Date: Sun, 27 Feb 2022 08:43:03 +0000 (-0600) Subject: Improve documentation for Client parameters X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d81881e43ea4d6ed9967d485c396c644e6eb78f1;p=tweepy.git Improve documentation for Client parameters Specify OAuth 1.0a or 2.0 and indicate bearer_token as OAuth 2.0 access token as well --- diff --git a/tweepy/client.py b/tweepy/client.py index e6333db..5cbe281 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -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