tweepy.git
3 years agoAdd stringify_ids endpoint parameter for API.friendships_incoming
Harmon [Fri, 12 Feb 2021 04:11:55 +0000 (22:11 -0600)]
Add stringify_ids endpoint parameter for API.friendships_incoming

3 years agoStop allowing positional arguments for API.friends
Harmon [Fri, 12 Feb 2021 04:10:05 +0000 (22:10 -0600)]
Stop allowing positional arguments for API.friends

3 years agoUpdate cassette for test using API.friends
Harmon [Fri, 12 Feb 2021 04:08:20 +0000 (22:08 -0600)]
Update cassette for test using API.friends

3 years agoUpdate test using API.friends to pass keyword argument
Harmon [Fri, 12 Feb 2021 04:06:50 +0000 (22:06 -0600)]
Update test using API.friends to pass keyword argument

3 years agoRemove id endpoint parameter for API.friends
Harmon [Fri, 12 Feb 2021 04:06:29 +0000 (22:06 -0600)]
Remove id endpoint parameter for API.friends

3 years agoStop allowing positional arguments for API.friends_ids
Harmon [Fri, 12 Feb 2021 04:03:03 +0000 (22:03 -0600)]
Stop allowing positional arguments for API.friends_ids

3 years agoAdd stringify_ids and count endpoint parameters for API.friends_ids
Harmon [Fri, 12 Feb 2021 04:01:37 +0000 (22:01 -0600)]
Add stringify_ids and count endpoint parameters for API.friends_ids

3 years agoUpdate cassette for test using API.friends_ids
Harmon [Fri, 12 Feb 2021 03:59:57 +0000 (21:59 -0600)]
Update cassette for test using API.friends_ids

3 years agoUpdate test using API.friends_ids to pass keyword argument
Harmon [Fri, 12 Feb 2021 03:57:58 +0000 (21:57 -0600)]
Update test using API.friends_ids to pass keyword argument

3 years agoRemove id endpoint parameter for API.friends_ids
Harmon [Fri, 12 Feb 2021 03:57:26 +0000 (21:57 -0600)]
Remove id endpoint parameter for API.friends_ids

3 years agoImprove parameter order in API.lookup_friendships
Harmon [Fri, 12 Feb 2021 03:53:11 +0000 (21:53 -0600)]
Improve parameter order in API.lookup_friendships

So as to match Twitter API documentation

3 years agoChange API.lookup_friendships parameters to be keyword-only
Harmon [Fri, 12 Feb 2021 03:51:24 +0000 (21:51 -0600)]
Change API.lookup_friendships parameters to be keyword-only

Change user_id and screen_name API.lookup_friendships parameters to be keyword-only

3 years agoRename screen_names API.lookup_friendships parameter to screen_name
Harmon [Fri, 12 Feb 2021 03:49:41 +0000 (21:49 -0600)]
Rename screen_names API.lookup_friendships parameter to screen_name

3 years agoRename user_ids API.lookup_friendships parameter to user_id
Harmon [Fri, 12 Feb 2021 03:48:32 +0000 (21:48 -0600)]
Rename user_ids API.lookup_friendships parameter to user_id

3 years agoStop allowing positional arguments for API.show_friendship
Harmon [Fri, 12 Feb 2021 03:46:55 +0000 (21:46 -0600)]
Stop allowing positional arguments for API.show_friendship

3 years agoStop allowing positional arguments for API.destroy_friendship
Harmon [Fri, 12 Feb 2021 03:45:27 +0000 (21:45 -0600)]
Stop allowing positional arguments for API.destroy_friendship

Also improve endpoint parameters order to match Twitter API documentation

3 years agoUpdate cassette for test using API.destroy_friendship
Harmon [Fri, 12 Feb 2021 03:43:41 +0000 (21:43 -0600)]
Update cassette for test using API.destroy_friendship

3 years agoUpdate test using API.destroy_friendship to pass keyword argument
Harmon [Fri, 12 Feb 2021 03:41:04 +0000 (21:41 -0600)]
Update test using API.destroy_friendship to pass keyword argument

3 years agoRemove id endpoint parameter for API.destroy_friendship
Harmon [Fri, 12 Feb 2021 03:40:00 +0000 (21:40 -0600)]
Remove id endpoint parameter for API.destroy_friendship

3 years agoStop allowing positional arguments for API.create_friendship
Harmon [Fri, 12 Feb 2021 03:38:10 +0000 (21:38 -0600)]
Stop allowing positional arguments for API.create_friendship

Also improve endpoint parameters order to match Twitter API documentation

3 years agoUpdate cassettes for tests using API.create_friendship
Harmon [Fri, 12 Feb 2021 03:35:03 +0000 (21:35 -0600)]
Update cassettes for tests using API.create_friendship

3 years agoUpdate tests using API.create_friendship to pass keyword arguments
Harmon [Fri, 12 Feb 2021 03:30:28 +0000 (21:30 -0600)]
Update tests using API.create_friendship to pass keyword arguments

3 years agoRemove id endpoint parameter for API.create_friendship
Harmon [Fri, 12 Feb 2021 03:29:36 +0000 (21:29 -0600)]
Remove id endpoint parameter for API.create_friendship

3 years agoStop allowing positional arguments for API.destroy_direct_message
Harmon [Wed, 10 Feb 2021 19:31:53 +0000 (13:31 -0600)]
Stop allowing positional arguments for API.destroy_direct_message

Stop allowing positional arguments besides id for API.destroy_direct_message

3 years agoRequire id parameter for API.destroy_direct_message
Harmon [Wed, 10 Feb 2021 19:30:44 +0000 (13:30 -0600)]
Require id parameter for API.destroy_direct_message

3 years agoChange API.send_direct_message parameters to be keyword-only
Harmon [Wed, 10 Feb 2021 19:29:34 +0000 (13:29 -0600)]
Change API.send_direct_message parameters to be keyword-only

Change quick_reply_options, attachment_type, attachment_media_id, and ctas API.send_direct_message parameters to be keyword-only

3 years agoStop allowing positional arguments for API.list_direct_messages
Harmon [Wed, 10 Feb 2021 19:25:43 +0000 (13:25 -0600)]
Stop allowing positional arguments for API.list_direct_messages

3 years agoStop allowing positional arguments besides id for API.get_direct_message
Harmon [Wed, 10 Feb 2021 19:24:32 +0000 (13:24 -0600)]
Stop allowing positional arguments besides id for API.get_direct_message

3 years agoRequire id parameter for API.get_direct_message
Harmon [Wed, 10 Feb 2021 19:23:40 +0000 (13:23 -0600)]
Require id parameter for API.get_direct_message

3 years agoStop allowing positional arguments besides q for API.search_users
Harmon [Wed, 10 Feb 2021 19:21:48 +0000 (13:21 -0600)]
Stop allowing positional arguments besides q for API.search_users

Also improve endpoint parameters order to match Twitter API documentation

3 years agoAdd include_entities endpoint parameter for API.search_users
Harmon [Wed, 10 Feb 2021 19:20:07 +0000 (13:20 -0600)]
Add include_entities endpoint parameter for API.search_users

3 years agoRequire q parameter for API.search_users
Harmon [Wed, 10 Feb 2021 19:18:49 +0000 (13:18 -0600)]
Require q parameter for API.search_users

3 years agoImprove parameter order in API.lookup_users
Harmon [Wed, 10 Feb 2021 19:17:22 +0000 (13:17 -0600)]
Improve parameter order in API.lookup_users

3 years agoStop allowing positional arguments for API.lookup_users
Harmon [Wed, 10 Feb 2021 19:16:01 +0000 (13:16 -0600)]
Stop allowing positional arguments for API.lookup_users

3 years agoChange API.lookup_users parameters to be keyword-only
Harmon [Wed, 10 Feb 2021 19:14:49 +0000 (13:14 -0600)]
Change API.lookup_users parameters to be keyword-only

Change user_id and screen_name API.lookup_users parameters to be keyword-only

3 years agoRename screen_names API.lookup_users parameter to screen_name
Harmon [Wed, 10 Feb 2021 19:12:16 +0000 (13:12 -0600)]
Rename screen_names API.lookup_users parameter to screen_name

3 years agoRename user_ids API.lookup_users parameter to user_id
Harmon [Wed, 10 Feb 2021 19:07:54 +0000 (13:07 -0600)]
Rename user_ids API.lookup_users parameter to user_id

3 years agoStop allowing positional arguments besides url for API.get_oembed
Harmon [Wed, 10 Feb 2021 19:06:03 +0000 (13:06 -0600)]
Stop allowing positional arguments besides url for API.get_oembed

3 years agoRequire url parameter for API.get_oembed
Harmon [Wed, 10 Feb 2021 19:04:24 +0000 (13:04 -0600)]
Require url parameter for API.get_oembed

3 years agoStop allowing positional arguments for API.get_user
Harmon [Wed, 10 Feb 2021 04:46:40 +0000 (22:46 -0600)]
Stop allowing positional arguments for API.get_user

3 years agoAdd include_entities endpoint parameter for API.get_user
Harmon [Wed, 10 Feb 2021 04:45:49 +0000 (22:45 -0600)]
Add include_entities endpoint parameter for API.get_user

3 years agoUpdate cassettes for tests using API.get_user
Harmon [Wed, 10 Feb 2021 04:43:46 +0000 (22:43 -0600)]
Update cassettes for tests using API.get_user

3 years agoUpdate tests using API.get_user to pass keyword arguments
Harmon [Wed, 10 Feb 2021 04:32:24 +0000 (22:32 -0600)]
Update tests using API.get_user to pass keyword arguments

3 years agoRemove id endpoint parameter for API.get_user
Harmon [Wed, 10 Feb 2021 04:19:20 +0000 (22:19 -0600)]
Remove id endpoint parameter for API.get_user

3 years agoStop allowing positional arguments besides id for API.retweeters
Harmon [Wed, 10 Feb 2021 04:18:05 +0000 (22:18 -0600)]
Stop allowing positional arguments besides id for API.retweeters

3 years agoAdd count endpoint parameter for API.retweeters
Harmon [Wed, 10 Feb 2021 04:16:54 +0000 (22:16 -0600)]
Add count endpoint parameter for API.retweeters

3 years agoRequire id parameter for API.retweeters
Harmon [Wed, 10 Feb 2021 04:15:47 +0000 (22:15 -0600)]
Require id parameter for API.retweeters

3 years agoStop allowing positional arguments besides id for API.retweets
Harmon [Wed, 10 Feb 2021 04:14:17 +0000 (22:14 -0600)]
Stop allowing positional arguments besides id for API.retweets

3 years agoAdd trim_user endpoint parameter for API.retweets
Harmon [Wed, 10 Feb 2021 04:13:28 +0000 (22:13 -0600)]
Add trim_user endpoint parameter for API.retweets

3 years agoRename status_id API.retweets parameter to id
Harmon [Wed, 10 Feb 2021 04:12:40 +0000 (22:12 -0600)]
Rename status_id API.retweets parameter to id

3 years agoStop allowing positional arguments besides id for API.unretweet
Harmon [Wed, 10 Feb 2021 04:11:27 +0000 (22:11 -0600)]
Stop allowing positional arguments besides id for API.unretweet

3 years agoAdd trim_user endpoint parameter for API.unretweet
Harmon [Wed, 10 Feb 2021 04:10:45 +0000 (22:10 -0600)]
Add trim_user endpoint parameter for API.unretweet

3 years agoRename status_id API.unretweet parameter to id
Harmon [Wed, 10 Feb 2021 04:09:26 +0000 (22:09 -0600)]
Rename status_id API.unretweet parameter to id

3 years agoStop allowing positional arguments besides id for API.retweet
Harmon [Wed, 10 Feb 2021 04:08:48 +0000 (22:08 -0600)]
Stop allowing positional arguments besides id for API.retweet

3 years agoAdd trim_user endpoint parameter for API.retweet
Harmon [Wed, 10 Feb 2021 04:07:56 +0000 (22:07 -0600)]
Add trim_user endpoint parameter for API.retweet

3 years agoRename status_id API.retweet parameter to id
Harmon [Wed, 10 Feb 2021 04:06:58 +0000 (22:06 -0600)]
Rename status_id API.retweet parameter to id

3 years agoStop allowing positional arguments besides id for API.destroy_status
Harmon [Wed, 10 Feb 2021 04:05:51 +0000 (22:05 -0600)]
Stop allowing positional arguments besides id for API.destroy_status

3 years agoAdd trim_user endpoint parameter for API.destroy_status
Harmon [Wed, 10 Feb 2021 04:04:52 +0000 (22:04 -0600)]
Add trim_user endpoint parameter for API.destroy_status

3 years agoRename status_id API.destroy_status parameter to id
Harmon [Wed, 10 Feb 2021 04:01:42 +0000 (22:01 -0600)]
Rename status_id API.destroy_status parameter to id

3 years agoStop allowing positional arguments for API.create_media_metadata
Harmon [Wed, 10 Feb 2021 03:59:14 +0000 (21:59 -0600)]
Stop allowing positional arguments for API.create_media_metadata

Stop allowing positional arguments besides media_id and alt_text for API.create_media_metadata

3 years agoPass json_payload argument directly in API.create_media_metadata
Harmon [Wed, 10 Feb 2021 03:56:21 +0000 (21:56 -0600)]
Pass json_payload argument directly in API.create_media_metadata

Pass json_payload argument directly to API.request in API.create_media_metadata

3 years agoRemove endpoint_parameters argument in API.create_media_metadata
Harmon [Wed, 10 Feb 2021 03:55:19 +0000 (21:55 -0600)]
Remove endpoint_parameters argument in API.create_media_metadata

Remove unnecessary endpoint_parameters argument for API.request in API.create_media_metadata

3 years agoStop allowing positional arguments besides status for API.update_status
Harmon [Mon, 8 Feb 2021 08:58:18 +0000 (02:58 -0600)]
Stop allowing positional arguments besides status for API.update_status

3 years agoRequire status parameter for API.update_status
Harmon [Mon, 8 Feb 2021 08:51:32 +0000 (02:51 -0600)]
Require status parameter for API.update_status

3 years agoStop allowing positional arguments besides id for API.get_status
Harmon [Mon, 8 Feb 2021 08:49:32 +0000 (02:49 -0600)]
Stop allowing positional arguments besides id for API.get_status

3 years agoRequire id parameter for API.get_status
Harmon [Mon, 8 Feb 2021 08:48:44 +0000 (02:48 -0600)]
Require id parameter for API.get_status

3 years agoAdd endpoint parameters for API.retweets_of_me
Harmon [Mon, 8 Feb 2021 08:47:02 +0000 (02:47 -0600)]
Add endpoint parameters for API.retweets_of_me

trim_user, include_entities, include_user_entities

3 years agoStop allowing positional arguments for API.retweets_of_me
Harmon [Mon, 8 Feb 2021 08:45:23 +0000 (02:45 -0600)]
Stop allowing positional arguments for API.retweets_of_me

3 years agoAdd endpoint parameters for API.mentions_timeline
Harmon [Mon, 8 Feb 2021 08:44:02 +0000 (02:44 -0600)]
Add endpoint parameters for API.mentions_timeline

trim_user and include_entities

3 years agoStop allowing positional arguments for API.mentions_timeline
Harmon [Mon, 8 Feb 2021 08:42:20 +0000 (02:42 -0600)]
Stop allowing positional arguments for API.mentions_timeline

3 years agoStop allowing positional arguments for API.user_timeline
Harmon [Mon, 8 Feb 2021 08:40:28 +0000 (02:40 -0600)]
Stop allowing positional arguments for API.user_timeline

3 years agoStop allowing positional arguments besides id for API.statuses_lookup
Harmon [Mon, 8 Feb 2021 08:37:19 +0000 (02:37 -0600)]
Stop allowing positional arguments besides id for API.statuses_lookup

3 years agoRename id_ API.statuses_lookup parameter to id
Harmon [Mon, 8 Feb 2021 08:36:25 +0000 (02:36 -0600)]
Rename id_ API.statuses_lookup parameter to id

3 years agoStop allowing positional arguments for API.home_timeline
Harmon [Mon, 8 Feb 2021 08:20:46 +0000 (02:20 -0600)]
Stop allowing positional arguments for API.home_timeline

3 years agoLog warning when API.request is passed an unexpected keyword argument
Harmon [Mon, 8 Feb 2021 08:17:47 +0000 (02:17 -0600)]
Log warning when API.request is passed an unexpected keyword argument

That isn't an endpoint parameter

3 years agoHandle Twitter API issue with duplicate pages for API.search_users
Harmon [Sun, 7 Feb 2021 19:45:49 +0000 (13:45 -0600)]
Handle Twitter API issue with duplicate pages for API.search_users

Resolves #1465

3 years agoStart on page 1 for PageIterator
Harmon [Sun, 7 Feb 2021 19:35:32 +0000 (13:35 -0600)]
Start on page 1 for PageIterator

3 years agoRename allowed_param API.request parameter to endpoint_parameters
Harmon [Sun, 7 Feb 2021 08:13:51 +0000 (02:13 -0600)]
Rename allowed_param API.request parameter to endpoint_parameters

3 years agoPass tuples instead of lists as API.request allowed_param arguments
Harmon [Sun, 7 Feb 2021 08:04:32 +0000 (02:04 -0600)]
Pass tuples instead of lists as API.request allowed_param arguments

3 years agoImprove API method docstring formatting consistency
Harmon [Sun, 7 Feb 2021 05:06:50 +0000 (23:06 -0600)]
Improve API method docstring formatting consistency

3 years agoRemove allowed_param from API method docstrings
Harmon [Sun, 7 Feb 2021 05:04:13 +0000 (23:04 -0600)]
Remove allowed_param from API method docstrings

3 years agoRemove map_ keyword argument aliasing for API.statuses_lookup
Harmon [Sun, 7 Feb 2021 04:42:09 +0000 (22:42 -0600)]
Remove map_ keyword argument aliasing for API.statuses_lookup

3 years agoDefault require_auth API.request parameter to True
Harmon [Wed, 3 Feb 2021 22:11:51 +0000 (16:11 -0600)]
Default require_auth API.request parameter to True

3 years agoAdd missing require_auth argument for API.request call in API.get_status
Harmon [Wed, 3 Feb 2021 21:57:55 +0000 (15:57 -0600)]
Add missing require_auth argument for API.request call in API.get_status

3 years agoAdd missing require_auth arguments for API.request calls in API methods
Harmon [Wed, 3 Feb 2021 21:53:22 +0000 (15:53 -0600)]
Add missing require_auth arguments for API.request calls in API methods

3 years agoPass kwargs to API.request in API.update_profile_banner
Harmon [Wed, 3 Feb 2021 21:46:45 +0000 (15:46 -0600)]
Pass kwargs to API.request in API.update_profile_banner

3 years agoRename API.bind_api to API.request
Harmon [Wed, 3 Feb 2021 17:50:00 +0000 (11:50 -0600)]
Rename API.bind_api to API.request

3 years agoAdd requests.Session instance as API.session attribute
Harmon [Wed, 3 Feb 2021 17:33:43 +0000 (11:33 -0600)]
Add requests.Session instance as API.session attribute

Initialize a single requests.Session instance per API instance, rather than for each request

3 years agoRemove binder.py
Harmon [Wed, 3 Feb 2021 17:28:42 +0000 (11:28 -0600)]
Remove binder.py

Move pagination and payload decorator definitions to api.py

3 years agoAdd bind_api as API method
Harmon [Wed, 3 Feb 2021 17:25:09 +0000 (11:25 -0600)]
Add bind_api as API method

3 years agoImprove import grouping in binder.py
Harmon [Wed, 3 Feb 2021 17:11:37 +0000 (11:11 -0600)]
Improve import grouping in binder.py

3 years agoRemove urllib.parse.quote import in binder.py
Harmon [Wed, 3 Feb 2021 17:10:36 +0000 (11:10 -0600)]
Remove urllib.parse.quote import in binder.py

3 years agoRemove API.api_root and API.upload_root
Harmon [Wed, 3 Feb 2021 08:19:18 +0000 (02:19 -0600)]
Remove API.api_root and API.upload_root

3 years agoRename path bind_api parameter to endpoint
Harmon [Wed, 3 Feb 2021 08:15:52 +0000 (02:15 -0600)]
Rename path bind_api parameter to endpoint

Rename url variable to path
Rename full_url variable to url

3 years agoRemove leading slash from bind_api path argument
Harmon [Wed, 3 Feb 2021 08:10:53 +0000 (02:10 -0600)]
Remove leading slash from bind_api path argument

3 years agoRemove trailing .json from bind_api path argument
Harmon [Wed, 3 Feb 2021 08:06:28 +0000 (02:06 -0600)]
Remove trailing .json from bind_api path argument

3 years agoReplace execute function with bind_api
Harmon [Wed, 3 Feb 2021 08:00:03 +0000 (02:00 -0600)]
Replace execute function with bind_api

3 years agoChange path to positional argument for bind_api
Harmon [Wed, 3 Feb 2021 07:57:56 +0000 (01:57 -0600)]
Change path to positional argument for bind_api

3 years agoChange method to positional argument for bind_api
Harmon [Wed, 3 Feb 2021 07:40:18 +0000 (01:40 -0600)]
Change method to positional argument for bind_api

3 years agoChange api to positional argument for bind_api
Harmon [Wed, 3 Feb 2021 07:28:20 +0000 (01:28 -0600)]
Change api to positional argument for bind_api