Commit c997ee7f authored by Joshua Roesslein's avatar Joshua Roesslein Committed by GitHub

Merge pull request #926 from walmsley/patch-1

Allow tweet_mode=extended in statuses_lookup
parents e8e779a0 c5efdcf8
......@@ -94,20 +94,20 @@ class API(object):
)
def statuses_lookup(self, id_, include_entities=None,
trim_user=None, map_=None):
trim_user=None, map_=None, tweet_mode=None):
return self._statuses_lookup(list_to_csv(id_), include_entities,
trim_user, map_)
trim_user, map_, tweet_mode)
@property
def _statuses_lookup(self):
""" :reference: https://dev.twitter.com/rest/reference/get/statuses/lookup
:allowed_param:'id', 'include_entities', 'trim_user', 'map'
:allowed_param:'id', 'include_entities', 'trim_user', 'map', 'tweet_mode'
"""
return bind_api(
api=self,
path='/statuses/lookup.json',
payload_type='status', payload_list=True,
allowed_param=['id', 'include_entities', 'trim_user', 'map'],
allowed_param=['id', 'include_entities', 'trim_user', 'map', 'tweet_mode'],
require_auth=True
)
......
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