Commit edb63d2b authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Remove deprecated endpoints.

parent 359fb051
......@@ -55,14 +55,6 @@ class API(object):
require_auth = True
)
"""/statuses/retweeted_by_user.format"""
retweeted_by_user = bind_api(
path = '/statuses/retweeted_by_user.json',
payload_type = 'status', payload_list = True,
allowed_param = ['screen_name', 'id', 'count', 'since_id',
'max_id', 'page', 'include_entities']
)
"""/statuses/:id/retweeted_by.format"""
retweeted_by = bind_api(
path = '/statuses/{id}/retweeted_by.json',
......@@ -77,7 +69,7 @@ class API(object):
payload_type = 'relation', payload_list = True,
allowed_param = ['id'],
require_auth = False
)
)
"""/statuses/:id/retweeted_by/ids.format"""
retweeted_by_ids = bind_api(
......@@ -87,30 +79,6 @@ class API(object):
require_auth = True
)
""" statuses/retweeted_by_me """
retweeted_by_me = bind_api(
path = '/statuses/retweeted_by_me.json',
payload_type = 'status', payload_list = True,
allowed_param = ['since_id', 'max_id', 'count', 'page'],
require_auth = True
)
""" statuses/retweeted_to_me """
retweeted_to_me = bind_api(
path = '/statuses/retweeted_to_me.json',
payload_type = 'status', payload_list = True,
allowed_param = ['since_id', 'max_id', 'count', 'page'],
require_auth = True
)
""" statuses/retweeted_by_user """
retweeted_by_user = bind_api(
path = '/statuses/retweeted_by_user.json',
payload_type = 'status', payload_list = True,
allowed_param = ['screen_name', 'id', 'since_id', 'max_id', 'count', 'page', 'trim_user', 'include_entities'],
require_auth = False
)
""" statuses/retweets_of_me """
retweets_of_me = bind_api(
path = '/statuses/retweets_of_me.json',
......@@ -214,20 +182,6 @@ class API(object):
require_auth = True
)
""" statuses/friends """
friends = bind_api(
path = '/friends/list.json',
payload_type = 'user', payload_list = True,
allowed_param = ['id', 'user_id', 'screen_name', 'page', 'cursor']
)
""" statuses/followers """
followers = bind_api(
path = '/followers/list.json',
payload_type = 'user', payload_list = True,
allowed_param = ['id', 'user_id', 'screen_name', 'page', 'cursor']
)
""" direct_messages """
direct_messages = bind_api(
path = '/direct_messages.json',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment