:rtype: list of :class:`Status` objects
-.. method:: API.statuses_lookup(id_, [include_entities], [trim_user], [map_])
+.. method:: API.statuses_lookup(id_, [include_entities], [trim_user], [map_], \
+ [include_ext_alt_text], [include_card_uri])
Returns full Tweet objects for up to 100 tweets per request, specified by
the `id` parameter.
:param trim_user: |trim_user|
:param map_: A boolean indicating whether or not to include tweets that
cannot be shown. Defaults to False.
+ :param include_ext_alt_text: |include_ext_alt_text|
+ :param include_card_uri: |include_card_uri|
:rtype: list of :class:`Status` objects
def statuses_lookup(self, id_, *args, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup
- :allowed_param: 'id', 'include_entities', 'trim_user', 'map'
+ :allowed_param: 'id', 'include_entities', 'trim_user', 'map',
+ 'include_ext_alt_text', 'include_card_uri'
"""
kwargs.update({'id': list_to_csv(id_)})
if 'map_' in kwargs:
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',
+ 'include_ext_alt_text', 'include_card_uri'],
require_auth=True
)(*args, **kwargs)