Packages

trait TwitterUserLookupClient extends AnyRef

Implements the available requests for the v2 user lookup resource.

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

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[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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def lookupUser(id: String, expansions: Seq[UserExpansions] = Seq.empty[UserExpansions], tweetFields: Seq[TweetFields] = Seq.empty[TweetFields], userFields: Seq[UserFields] = Seq.empty[UserFields]): Future[RatedData[UserResponse]]

    Returns a variety of information about a single user specified by the requested ID.

    Returns a variety of information about a single user specified by the requested ID. For more information see https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-id

    id

    : The ID of the user to lookup.

    expansions

    : Optional, by default is Seq.empty tweetFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific Tweet fields will deliver in each returned pinned Tweet. The Tweet fields will only return if the user has a pinned Tweet and if you've also included the expansions=pinned_tweet_id expansion in your request. While the referenced Tweet ID will be located in the original Tweet object, you will find this ID and all additional Tweet fields in the includes data object.

    userFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific user fields will deliver in each returned User object. These specified user fields will display directly in the user data objects.

    returns

    : The representation of the search results.

  12. def lookupUserByUsername(username: String, expansions: Seq[UserExpansions] = Seq.empty[UserExpansions], tweetFields: Seq[TweetFields] = Seq.empty[TweetFields], userFields: Seq[UserFields] = Seq.empty[UserFields]): Future[RatedData[UserResponse]]

    Returns a variety of information about a single user specified by the requested username.

    Returns a variety of information about a single user specified by the requested username. For more information see https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-by-username-username

    username

    : The Twitter username (handle) of the user.

    expansions

    : Optional, by default is Seq.empty tweetFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific Tweet fields will deliver in each returned pinned Tweet. The Tweet fields will only return if the user has a pinned Tweet and if you've also included the expansions=pinned_tweet_id expansion in your request. While the referenced Tweet ID will be located in the original Tweet object, you will find this ID and all additional Tweet fields in the includes data object.

    userFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific user fields will deliver in each returned User object. These specified user fields will display directly in the user data objects.

    returns

    : The representation of the search results.

  13. def lookupUsers(ids: Seq[String], expansions: Seq[UserExpansions] = Seq.empty[UserExpansions], tweetFields: Seq[TweetFields] = Seq.empty[TweetFields], userFields: Seq[UserFields] = Seq.empty[UserFields]): Future[RatedData[UsersResponse]]

    Returns a variety of information about one or more users specified by the requested IDs.

    Returns a variety of information about one or more users specified by the requested IDs. For more information see https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users

    ids

    : A comma separated list of user IDs. Up to 100 are allowed in a single request.

    expansions

    : Optional, by default is Seq.empty tweetFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific Tweet fields will deliver in each returned pinned Tweet. The Tweet fields will only return if the user has a pinned Tweet and if you've also included the expansions=pinned_tweet_id expansion in your request. While the referenced Tweet ID will be located in the original Tweet object, you will find this ID and all additional Tweet fields in the includes data object.

    userFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific user fields will deliver in each returned User object. These specified user fields will display directly in the user data objects.

    returns

    : The representation of the search results.

  14. def lookupUsersByUsernames(usernames: Seq[String], expansions: Seq[UserExpansions] = Seq.empty[UserExpansions], tweetFields: Seq[TweetFields] = Seq.empty[TweetFields], userFields: Seq[UserFields] = Seq.empty[UserFields]): Future[RatedData[UsersResponse]]

    Returns a variety of information about one or more users specified by their usernames.

    Returns a variety of information about one or more users specified by their usernames. For more information see https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-by

    usernames

    : A comma separated list of Twitter usernames (handles). Up to 100 are allowed in a single request.

    expansions

    : Optional, by default is Seq.empty tweetFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific Tweet fields will deliver in each returned pinned Tweet. The Tweet fields will only return if the user has a pinned Tweet and if you've also included the expansions=pinned_tweet_id expansion in your request. While the referenced Tweet ID will be located in the original Tweet object, you will find this ID and all additional Tweet fields in the includes data object.

    userFields

    : Optional, by default is Seq.empty This fields parameter enables you to select which specific user fields will deliver in each returned User object. These specified user fields will display directly in the user data objects.

    returns

    : The representation of the search results.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. 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