@property
def home_timeline(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/home_timeline
+ """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline
:allowed_param:'since_id', 'max_id', 'count'
"""
return bind_api(
@property
def _statuses_lookup(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/lookup
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup
:allowed_param:'id', 'include_entities', 'trim_user', 'map', 'tweet_mode'
"""
return bind_api(
@property
def user_timeline(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/user_timeline
+ """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline
:allowed_param:'id', 'user_id', 'screen_name', 'since_id', 'max_id', 'count', 'include_rts', 'trim_user', 'exclude_replies'
"""
return bind_api(
@property
def mentions_timeline(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/mentions_timeline
+ """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-mentions_timeline
:allowed_param:'since_id', 'max_id', 'count'
"""
return bind_api(
@property
def retweets_of_me(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/retweets_of_me
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets_of_me
:allowed_param:'since_id', 'max_id', 'count'
"""
return bind_api(
@property
def get_status(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/show/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-show-id
:allowed_param:'id'
"""
return bind_api(
)
def update_status(self, *args, **kwargs):
- """ :reference: https://dev.twitter.com/rest/reference/post/statuses/update
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update
:allowed_param:'status', 'in_reply_to_status_id', 'in_reply_to_status_id_str', 'auto_populate_reply_metadata', 'lat', 'long', 'source', 'place_id', 'display_coordinates', 'media_ids'
"""
post_data = {}
)(post_data=post_data, *args, **kwargs)
def media_upload(self, filename, *args, **kwargs):
- """ :reference: https://dev.twitter.com/rest/reference/post/media/upload
+ """ :reference: https://developer.twitter.com/en/docs/media/upload-media/api-reference/post-media-upload
:allowed_param:
"""
f = kwargs.pop('file', None)
)(*args, **kwargs)
def update_with_media(self, filename, *args, **kwargs):
- """ :reference: https://dev.twitter.com/rest/reference/post/statuses/update_with_media
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update_with_media
:allowed_param:'status', 'possibly_sensitive', 'in_reply_to_status_id', 'in_reply_to_status_id_str', 'auto_populate_reply_metadata', 'lat', 'long', 'place_id', 'display_coordinates'
"""
f = kwargs.pop('file', None)
@property
def destroy_status(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/statuses/destroy/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-destroy-id
:allowed_param:'id'
"""
return bind_api(
@property
def retweet(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/statuses/retweet/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-retweet-id
:allowed_param:'id'
"""
return bind_api(
@property
def unretweet(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/statuses/unretweet/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-unretweet-id
:allowed_param:'id'
"""
return bind_api(
@property
def retweets(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/retweets/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets-id
:allowed_param:'id', 'count'
"""
return bind_api(
@property
def retweeters(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids
:allowed_param:'id', 'cursor', 'stringify_ids
"""
return bind_api(
@property
def get_user(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/show
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def get_oembed(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/statuses/oembed
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-oembed
:allowed_param:'id', 'url', 'maxwidth', 'hide_media', 'omit_script', 'align', 'related', 'lang'
"""
return bind_api(
@property
def _lookup_users(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/lookup
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup
allowed_param='user_id', 'screen_name', 'include_entities'
"""
return bind_api(
@property
def search_users(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/search
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search
:allowed_param:'q', 'count', 'page'
"""
return bind_api(
@property
def suggested_users(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions-slug
:allowed_param:'slug', 'lang'
"""
return bind_api(
@property
def suggested_categories(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/suggestions
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions
:allowed_param:'lang'
"""
return bind_api(
@property
def suggested_users_tweets(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug/members
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions-slug-members
:allowed_param:'slug'
"""
return bind_api(
@property
def direct_messages(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/direct_messages
+ """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-messages
:allowed_param:'since_id', 'max_id', 'count', 'full_text'
"""
return bind_api(
@property
def get_direct_message(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/direct_messages/show
+ """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-message
:allowed_param:'id', 'full_text'
"""
return bind_api(
@property
def sent_direct_messages(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/direct_messages/sent
+ """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-sent-message
:allowed_param:'since_id', 'max_id', 'count', 'page', 'full_text'
"""
return bind_api(
@property
def send_direct_message(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/direct_messages/new
+ """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-message
:allowed_param:'user', 'screen_name', 'user_id', 'text'
"""
return bind_api(
@property
def destroy_direct_message(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/direct_messages/destroy
+ """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/delete-message
:allowed_param:'id'
"""
return bind_api(
@property
def create_friendship(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/friendships/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-create
:allowed_param:'id', 'user_id', 'screen_name', 'follow'
"""
return bind_api(
@property
def destroy_friendship(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/friendships/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-destroy
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def show_friendship(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friendships/show
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show
:allowed_param:'source_id', 'source_screen_name', 'target_id', 'target_screen_name'
"""
return bind_api(
@property
def _lookup_friendships(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friendships/lookup
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup
:allowed_param:'user_id', 'screen_name'
"""
return bind_api(
@property
def friends_ids(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friends/ids
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids
:allowed_param:'id', 'user_id', 'screen_name', 'cursor'
"""
return bind_api(
@property
def friends(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friends/list
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-list
:allowed_param:'id', 'user_id', 'screen_name', 'cursor', 'skip_status', 'include_user_entities'
"""
return bind_api(
@property
def friendships_incoming(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friendships/incoming
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-incoming
:allowed_param:'cursor'
"""
return bind_api(
@property
def friendships_outgoing(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/friendships/outgoing
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-outgoing
:allowed_param:'cursor'
"""
return bind_api(
@property
def followers_ids(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/followers/ids
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids
:allowed_param:'id', 'user_id', 'screen_name', 'cursor', 'count'
"""
return bind_api(
@property
def followers(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/followers/list
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-list
:allowed_param:'id', 'user_id', 'screen_name', 'cursor', 'count', 'skip_status', 'include_user_entities'
"""
return bind_api(
@property
def get_settings(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/account/settings
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-settings
"""
return bind_api(
api=self,
@property
def set_settings(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/account/settings
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-settings
:allowed_param:'sleep_time_enabled', 'start_sleep_time',
'end_sleep_time', 'time_zone', 'trend_location_woeid',
'allow_contributor_request', 'lang'
)
def verify_credentials(self, **kargs):
- """ :reference: https://dev.twitter.com/rest/reference/get/account/verify_credentials
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials
:allowed_param:'include_entities', 'skip_status', 'include_email'
"""
try:
@property
def rate_limit_status(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/application/rate_limit_status
+ """ :reference: https://developer.twitter.com/en/docs/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status
:allowed_param:'resources'
"""
return bind_api(
)
def update_profile_image(self, filename, file_=None):
- """ :reference: https://dev.twitter.com/rest/reference/post/account/update_profile_image
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_image
:allowed_param:'include_entities', 'skip_status'
"""
headers, post_data = API._pack_image(filename, 700, f=file_)
)(self, post_data=post_data, headers=headers)
def update_profile_background_image(self, filename, **kargs):
- """ :reference: https://dev.twitter.com/rest/reference/post/account/update_profile_background_image
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_background_image
:allowed_param:'tile', 'include_entities', 'skip_status', 'use'
"""
f = kargs.pop('file', None)
)(post_data=post_data, headers=headers)
def update_profile_banner(self, filename, **kargs):
- """ :reference: https://dev.twitter.com/rest/reference/post/account/update_profile_banner
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_banner
:allowed_param:'width', 'height', 'offset_left', 'offset_right'
"""
f = kargs.pop('file', None)
@property
def update_profile(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/account/update_profile
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile
:allowed_param:'name', 'url', 'location', 'description', 'profile_link_color'
"""
return bind_api(
@property
def favorites(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/favorites/list
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list
:allowed_param:'screen_name', 'user_id', 'max_id', 'count', 'since_id', 'max_id'
"""
return bind_api(
@property
def create_favorite(self):
- """ :reference:https://dev.twitter.com/rest/reference/post/favorites/create
+ """ :reference:https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-favorites-create
:allowed_param:'id'
"""
return bind_api(
@property
def destroy_favorite(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/favorites/destroy
+ """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-favorites-destroy
:allowed_param:'id'
"""
return bind_api(
@property
def create_block(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/blocks/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-create
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def destroy_block(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/blocks/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-destroy
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def mutes_ids(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/mutes/users/ids """
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids """
return bind_api(
api=self,
path='/mutes/users/ids.json',
@property
def create_mute(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/mutes/users/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def destroy_mute(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/mutes/users/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-destroy
:allowed_param:'id', 'user_id', 'screen_name'
"""
return bind_api(
@property
def blocks(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/blocks/list
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-list
:allowed_param:'cursor'
"""
return bind_api(
@property
def blocks_ids(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/blocks/ids """
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids """
return bind_api(
api=self,
path='/blocks/ids.json',
@property
def report_spam(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/users/report_spam
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-users-report_spam
:allowed_param:'user_id', 'screen_name'
"""
return bind_api(
@property
def saved_searches(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/saved_searches/show/%3Aid """
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id """
return bind_api(
api=self,
path='/saved_searches/list.json',
@property
def get_saved_search(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/saved_searches/show/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id
:allowed_param:'id'
"""
return bind_api(
@property
def create_saved_search(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/saved_searches/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-saved_searches-create
:allowed_param:'query'
"""
return bind_api(
@property
def destroy_saved_search(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/saved_searches/destroy/%3Aid
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-saved_searches-destroy-id
:allowed_param:'id'
"""
return bind_api(
@property
def create_list(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/lists/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-create
:allowed_param:'name', 'mode', 'description'
"""
return bind_api(
@property
def destroy_list(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/lists/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy
:allowed_param:'owner_screen_name', 'owner_id', 'list_id', 'slug'
"""
return bind_api(
@property
def update_list(self):
- """ :reference: https://dev.twitter.com/rest/reference/post/lists/update
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update
:allowed_param: list_id', 'slug', 'name', 'mode', 'description', 'owner_screen_name', 'owner_id'
"""
return bind_api(
@property
def lists_all(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/lists/list
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-list
:allowed_param:'screen_name', 'user_id'
"""
return bind_api(
@property
def lists_memberships(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/lists/memberships
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-memberships
:allowed_param:'screen_name', 'user_id', 'filter_to_owned_lists', 'cursor'
"""
return bind_api(
@property
def lists_subscriptions(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/lists/subscriptions
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscriptions
:allowed_param:'screen_name', 'user_id', 'cursor'
"""
return bind_api(
@property
def list_timeline(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/lists/statuses
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses
:allowed_param:'owner_screen_name', 'slug', 'owner_id', 'list_id',
'since_id', 'max_id', 'count', 'include_rts
"""
@property
def get_list(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/lists/show
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-show
:allowed_param:'owner_screen_name', 'owner_id', 'slug', 'list_id'
"""
return bind_api(
@property
def add_list_member(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create
:allowed_param:'screen_name', 'user_id', 'owner_screen_name',
'owner_id', 'slug', 'list_id'
"""
@property
def remove_list_member(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy
:allowed_param:'screen_name', 'user_id', 'owner_screen_name',
'owner_id', 'slug', 'list_id'
"""
@property
def _add_list_members(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/create_all
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all
:allowed_param:'screen_name', 'user_id', 'slug', 'list_id',
'owner_id', 'owner_screen_name'
@property
def _remove_list_members(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/members/destroy_all
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all
:allowed_param:'screen_name', 'user_id', 'slug', 'list_id',
'owner_id', 'owner_screen_name'
@property
def list_members(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/lists/members
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members
:allowed_param:'owner_screen_name', 'slug', 'list_id',
'owner_id', 'cursor
"""
@property
def show_list_member(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/lists/members/show
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show
:allowed_param:'list_id', 'slug', 'user_id', 'screen_name',
'owner_screen_name', 'owner_id
"""
@property
def subscribe_list(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/subscribers/create
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-subscribers-create
:allowed_param:'owner_screen_name', 'slug', 'owner_id',
'list_id'
"""
@property
def unsubscribe_list(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/post/lists/subscribers/destroy
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-subscribers-destroy
:allowed_param:'owner_screen_name', 'slug', 'owner_id',
'list_id'
"""
@property
def list_subscribers(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/lists/subscribers
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscribers
:allowed_param:'owner_screen_name', 'slug', 'owner_id',
'list_id', 'cursor
"""
@property
def show_list_subscriber(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/lists/subscribers/show
+ """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscribers-show
:allowed_param:'owner_screen_name', 'slug', 'screen_name',
'owner_id', 'list_id', 'user_id
"""
@property
def trends_available(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/trends/available """
+ """ :reference: https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-available """
return bind_api(
api=self,
path='/trends/available.json',
@property
def trends_place(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/trends/place
+ """ :reference: https://developer.twitter.com/en/docs/trends/trends-for-location/api-reference/get-trends-place
:allowed_param:'id', 'exclude'
"""
return bind_api(
@property
def trends_closest(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/trends/closest
+ """ :reference: https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-closest
:allowed_param:'lat', 'long'
"""
return bind_api(
@property
def search(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/search/tweets
+ """ :reference: https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets
:allowed_param:'q', 'lang', 'locale', 'since_id', 'geocode',
'max_id', 'since', 'until', 'result_type', 'count',
'include_entities', 'from', 'to', 'source'
@property
def reverse_geocode(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/geo/reverse_geocode
+ """ :reference: https://developer.twitter.com/en/docs/geo/places-near-location/api-reference/get-geo-reverse_geocode
:allowed_param:'lat', 'long', 'accuracy', 'granularity', 'max_results'
"""
return bind_api(
@property
def geo_id(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/geo/id/%3Aplace_id
+ """ :reference: https://developer.twitter.com/en/docs/geo/place-information/api-reference/get-geo-id-place_id
:allowed_param:'id'
"""
return bind_api(
@property
def geo_search(self):
- """ :reference: https://dev.twitter.com/docs/api/1.1/get/geo/search
+ """ :reference: https://developer.twitter.com/en/docs/geo/places-near-location/api-reference/get-geo-search
:allowed_param:'lat', 'long', 'query', 'ip', 'granularity',
'accuracy', 'max_results', 'contained_within
@property
def supported_languages(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/help/languages """
+ """ :reference: https://developer.twitter.com/en/docs/developer-utilities/supported-languages/api-reference/get-help-languages """
return bind_api(
api=self,
path='/help/languages.json',
@property
def configuration(self):
- """ :reference: https://dev.twitter.com/rest/reference/get/help/configuration """
+ """ :reference: https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration """
return bind_api(
api=self,
path='/help/configuration.json',