MCPcopy Index your code
hub / github.com/ryanmcgrath/twython / search

Method search

twython/endpoints.py:286–293  ·  view source on GitHub ↗

Returns a collection of relevant Tweets matching a specified query. Docs: https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets

(self, **params)

Source from the content-addressed store, hash-verified

284
285 # Search
286 def search(self, **params):
287 """Returns a collection of relevant Tweets matching a specified query.
288
289 Docs:
290 https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets
291
292 """
293 return self.get('search/tweets', params=params)
294 search.iter_mode = 'id'
295 search.iter_key = 'statuses'
296 search.iter_metadata = 'search_metadata'

Callers 2

test_searchMethod · 0.80
search_results.pyFile · 0.80

Calls 1

getMethod · 0.80

Tested by 1

test_searchMethod · 0.64