Packages

trait TwitterStatusClient extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterStatusClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val streamingClient: StreamingClient
    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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def filterStatuses(follow: Seq[Long] = Seq.empty, tracks: Seq[String] = Seq.empty, locations: Seq[GeoBoundingBox] = Seq.empty, languages: Seq[Language] = Seq.empty, stall_warnings: Boolean = false, filter_level: FilterLevel = FilterLevel.None)(f: PartialFunction[CommonStreamingMessage, Unit], errorHandler: PartialFunction[Throwable, Unit] = ErrorHandler.ignore): Future[TwitterStream]

    Starts a streaming connection from Twitter's public API, filtered with the 'follow', 'track' and 'location' parameters.

    Starts a streaming connection from Twitter's public API, filtered with the 'follow', 'track' and 'location' parameters. Although all of those three params are optional, at least one must be specified. The track, follow, and locations fields should be considered to be combined with an OR operator. The function returns a future of a TwitterStream that can be used to close or replace the stream when needed. If there are failures in establishing the initial connection, the Future returned will be completed with a failure. Since it's an asynchronous event stream, all the events will be parsed as entities of type CommonStreamingMessage and processed accordingly to the partial function f. All the messages that do not match f are automatically ignored. For more information see https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html.

    follow

    : Empty by default. List of user IDs, indicating the users whose Tweets should be delivered on the stream. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html

    tracks

    : Empty by default. List of phrases which will be used to determine what Tweets will be delivered on the stream. Each phrase must be between 1 and 60 bytes, inclusive. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html

    locations

    : Empty by default. Specifies a set of bounding boxes to track. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html

    languages

    : Empty by default. List of 'BCP 47' language identifiers. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/guides/basic-stream-parameters

    stall_warnings

    : Default to false. Specifies whether stall warnings (WarningMessage) should be delivered as part of the updates.

    filter_level

    : Default value is none, which includes all available Tweets. Set the minimum value of the filter_level Tweet attribute required to be included in the stream.

    f

    : Function that defines how to process the received messages.

  9. def firehoseStatuses(count: Option[Int] = None, languages: Seq[Language] = Seq.empty, stall_warnings: Boolean = false)(f: PartialFunction[CommonStreamingMessage, Unit], errorHandler: PartialFunction[Throwable, Unit] = ErrorHandler.ignore): Future[TwitterStream]

    Starts a streaming connection from Twitter's firehose API of all public statuses.

    Starts a streaming connection from Twitter's firehose API of all public statuses. Few applications require this level of access. Creative use of a combination of other resources and various access levels can satisfy nearly every application use case. For more information see https://dev.twitter.com/streaming/reference/get/statuses/firehose. The function returns a future of a TwitterStream that can be used to close or replace the stream when needed. If there are failures in establishing the initial connection, the Future returned will be completed with a failure. Since it's an asynchronous event stream, all the events will be parsed as entities of type CommonStreamingMessage and processed accordingly to the partial function f. All the messages that do not match f are automatically ignored.

    count

    : Optional. The number of messages to backfill. For more information see https://dev.twitter.com/streaming/overview/request-parameters#count

    languages

    : Empty by default. List of 'BCP 47' language identifiers. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/guides/basic-stream-parameters

    stall_warnings

    : Default to false. Specifies whether stall warnings (WarningMessage) should be delivered as part of the updates.

    f

    : Function that defines how to process the received messages.

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def sampleStatuses(languages: Seq[Language] = Seq.empty, stall_warnings: Boolean = false, tracks: Seq[String] = Seq.empty, filter_level: FilterLevel = FilterLevel.None)(f: PartialFunction[CommonStreamingMessage, Unit], errorHandler: PartialFunction[Throwable, Unit] = ErrorHandler.ignore): Future[TwitterStream]

    Starts a streaming connection from Twitter's public API, which is a a small random sample of all public statuses.

    Starts a streaming connection from Twitter's public API, which is a a small random sample of all public statuses. The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets. The function returns a future of a TwitterStream that can be used to close or replace the stream when needed. If there are failures in establishing the initial connection, the Future returned will be completed with a failure. Since it's an asynchronous event stream, all the events will be parsed as entities of type CommonStreamingMessage and processed accordingly to the partial function f. All the messages that do not match f are automatically ignored. For more information see https://developer.twitter.com/en/docs/tweets/sample-realtime/overview/GET_statuse_sample.

    languages

    : Empty by default. List of 'BCP 47' language identifiers. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/guides/basic-stream-parameters

    stall_warnings

    : Default to false. Specifies whether stall warnings (WarningMessage) should be delivered as part of the updates.

    tracks

    : Empty by default. List of phrases which will be used to determine what Tweets will be delivered on the stream. Each phrase must be between 1 and 60 bytes, inclusive. For more information https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html

    filter_level

    : Default value is none, which includes all available Tweets. Set the minimum value of the filter_level Tweet attribute required to be included in the stream.

    f

    : Function that defines how to process the received messages.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped