trait TwitterSearchClient extends AnyRef
Implements the available requests for the search
resource.
- Alphabetic
- By Inheritance
- TwitterSearchClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
restClient: RestClient
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
searchTweet(query: String, count: Int = 15, include_entities: Boolean = true, result_type: ResultType = ResultType.Mixed, geocode: Option[GeoCode] = None, language: Option[Language] = None, locale: Option[String] = None, until: Option[LocalDate] = None, since_id: Option[Long] = None, max_id: Option[Long] = None, callback: Option[String] = None, tweet_mode: TweetMode = TweetMode.Classic): Future[RatedData[StatusSearch]]
Returns a collection of relevant Tweets matching a specified query.
Returns a collection of relevant Tweets matching a specified query. For more information see https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets.
- query
: The search query of 500 characters maximum, including operators. Queries may additionally be limited by complexity.
- count
: By default it is
15
. The number of tweets to return per page, up to a maximum of 100.- include_entities
: By default it is
true
. The parameters node will be disincluded when set tofalse
.- result_type
: By default it is
Mixed
. Specifies what type of search results you would prefer to receive. Valid values include:Mixed
: Include both popular and real time results in the response.Recent
: return only the most recent results in the responsePopular
: return only the most popular results in the response.
- geocode
: Optional, by default it is
None
. Returns tweets by users located within a given radius of the given latitude/longitude. The location is preferentially taking from the Geotagging API, but will fall back to their Twitter profile. Note that you cannot use the near operator via the API to geocode arbitrary locations; however you can use this geocode parameter to search near geocodes directly. A maximum of 1,000 distinct “sub-regions” will be considered when using the radius modifier.- language
: Optional, by default it is
None
. Restricts tweets to the given language. Language detection is best-effort.- locale
: Optional, by default it is
None
. Specify the language of the query you are sending (onlyja
is currently effective). This is intended for language-specific consumers and the default should work in the majority of cases.- until
: Optional, by default it is
None
. Returns tweets created before the given date. Keep in mind that the search index has a 7-day limit. In other words, no tweets will be found for a date older than one week.- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- callback
: Optional, by default it is
None
. If supplied, the response will use the JSONP format with a callback of the given name. The usefulness of this parameter is somewhat diminished by the requirement of authentication for requests to this endpoint.- tweet_mode
: Optional, by default it is
Classic
. When set toExtended
prevents tweet text truncating, see https://developer.twitter.com/en/docs/tweets/tweet-updates- returns
: The representation of the search results.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )