Merge pull request #326 from bsbkeven/master
statuses/lookup function in endpoints.py
This commit is contained in:
commit
f4496ec8b2
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue