Premium
    data class PremiumSearchEnvironment(    val client: ApiClient,     val product: SearchProduct,     val label: String) : Endpoint
Content copied to clipboard
Collection of api endpoints related to Premium Search API with product and a label.
See also
Parameters
client
Current ApiClient instance.
Constructors
Link copied to clipboard
                fun PremiumSearchEnvironment(    client: ApiClient,     product: SearchProduct,     label: String)
Content copied to clipboard
Creates new PremiumSearch endpoint instance.
Properties
Extensions
Link copied to clipboard
                fun PremiumSearchEnvironment.count(    query: String,     fromDate: LocalDateTime? = null,     toDate: LocalDateTime? = null,     bucket: SearchBucket? = null,     next: String? = null,     vararg options: Option): PremiumSearchJsonObjectApiAction<PremiumSearchCount>
Content copied to clipboard
Returns counts data Tweets for the specified query. To learn how to use Twitter Search effectively, please see the Premium search operators page for a list of available filter operators.
Link copied to clipboard
                fun PremiumSearchEnvironment.data(    query: String,     tag: String? = null,     fromDate: LocalDateTime? = null,     toDate: LocalDateTime? = null,     maxResults: Int? = null,     next: String? = null,     vararg options: Option): PremiumSearchJsonObjectApiAction<PremiumSearchData>
Content copied to clipboard
Returns a collection of relevant Tweets matching a specified query. To learn how to use Twitter Search effectively, please see the Premium search operators page for a list of available filter operators.