From d81881e43ea4d6ed9967d485c396c644e6eb78f1 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 27 Feb 2022 02:43:03 -0600 Subject: [PATCH] Improve documentation for Client parameters Specify OAuth 1.0a or 2.0 and indicate bearer_token as OAuth 2.0 access token as well --- tweepy/client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.25.1