Packages

trait TwitterSearchClient extends AnyRef

Implements the available requests for the search resource.

Source
TwitterSearchClient.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterSearchClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val restClient: RestClient
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. 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 to false.

    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 response
    • Popular: 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 (only ja 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 to Extended prevents tweet text truncating, see https://developer.twitter.com/en/docs/tweets/tweet-updates

    returns

    : The representation of the search results.

  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped