MCPcopy Create free account
hub / github.com/ryanmcgrath/twython / lookup_status

Method lookup_status

twython/endpoints.py:96–105  ·  view source on GitHub ↗

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://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup

(self, **params)

Source from the content-addressed store, hash-verified

94 return self.get('statuses/show/%s' % params.get('id'), params=params)
95
96 def lookup_status(self, **params):
97 """Returns fully-hydrated tweet objects for up to 100 tweets per
98 request, as specified by comma-separated values passed to the ``id``
99 parameter.
100
101 Docs:
102 https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-lookup
103
104 """
105 return self.post('statuses/lookup', params=params)
106
107 def destroy_status(self, **params):
108 """Destroys the status specified by the required ``id`` parameter

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected