Search
See also
Parameters
client
Current ApiClient instance.
Constructors
Properties
Extensions
Link copied to clipboard
fun Search.search( query: String, geocode: String? = null, lang: String? = null, locale: String? = null, resultType: SearchResultType = SearchResultType.Default, count: Int? = null, until: LocalDate? = null, sinceId: Long? = null, maxId: Long? = null, includeEntities: Boolean? = null, tweetMode: TweetMode = TweetMode.Default, vararg options: Option): JsonObjectApiAction<SearchModel>
Content copied to clipboard
Returns a collection of relevant Tweets matching a specified query. Please note that Twitter's search service and, by extension, the Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface. To learn how to use Twitter Search effectively, please see the Standard search operators page for a list of available filter operators. Also, see the Working with Timelines page to learn best practices for navigating results by since_id and max_id.
Link copied to clipboard
fun Search.typeahead( query: String, tweetMode: TweetMode = TweetMode.Default, vararg options: Option): JsonObjectApiAction<SearchTypeahead>
Content copied to clipboard
Undocumented endpoint.
Link copied to clipboard
fun Search.universal( query: String, modules: String? = null, resultType: SearchResultType = SearchResultType.Default, tweetMode: TweetMode = TweetMode.Default, vararg options: Option): JsonObjectApiAction<SearchUniversal>
Content copied to clipboard
Undocumented endpoint.