Update endpoints.py #326

Merged
bsbkeven merged 1 commit from master into master 2014-05-21 16:13:12 -07:00
Showing only changes of commit b29ce05bc8 - Show all commits

View file

@ -73,6 +73,16 @@ class EndpointsMixin(object):
""" """
return self.get('statuses/show/%s' % params.get('id'), params=params) return self.get('statuses/show/%s' % params.get('id'), params=params)
def lookup_status(self, **params):
"""Returns fully-hydrated tweet objects for up to 100 tweets per
request, as specified by comma-separated values passed to the id
parameter.
Docs: https://dev.twitter.com/docs/api/1.1/get/statuses/lookup
"""
return self.post('statuses/lookup', params=params)
def destroy_status(self, **params): def destroy_status(self, **params):
"""Destroys the status specified by the required ID parameter """Destroys the status specified by the required ID parameter