Commit c5efdcf8 authored by walmsley's avatar walmsley Committed by GitHub
Browse files

Allow tweet_mode=extended in statuses_lookup

In response to #840
parent c8e473ed
...@@ -94,20 +94,20 @@ class API(object): ...@@ -94,20 +94,20 @@ class API(object):
) )
def statuses_lookup(self, id_, include_entities=None, 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, return self._statuses_lookup(list_to_csv(id_), include_entities,
trim_user, map_) trim_user, map_, tweet_mode)
@property @property
def _statuses_lookup(self): def _statuses_lookup(self):
""" :reference: """ :reference:
:allowed_param:'id', 'include_entities', 'trim_user', 'map' :allowed_param:'id', 'include_entities', 'trim_user', 'map', 'tweet_mode'
""" """
return bind_api( return bind_api(
api=self, api=self,
path='/statuses/lookup.json', path='/statuses/lookup.json',
payload_type='status', payload_list=True, 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 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