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

Method search_gen

twython/api.py:463–470  ·  view source on GitHub ↗
(self, search_query, **params)

Source from the content-addressed store, hash-verified

461 return '%s?%s' % (api_url, '&'.join(querystring))
462
463 def search_gen(self, search_query, **params): # pragma: no cover
464 warnings.warn(
465 'This method is deprecated. You should use Twython.cursor instead. \
466 [eg. Twython.cursor(Twython.search, q=\'your_query\')]',
467 TwythonDeprecationWarning,
468 stacklevel=2
469 )
470 return self.cursor(self.search, q=search_query, **params)
471
472 def cursor(self, function, return_pages=False, **params):
473 r"""Returns a generator for results that match a specified query.

Callers

nothing calls this directly

Calls 1

cursorMethod · 0.95

Tested by

no test coverage detected