Packages

trait TwitterSuggestionClient extends RestClient with Configurations

Implements the available requests for the suggestions resource.

Source
TwitterSuggestionClient.scala
Linear Supertypes
Configurations, RestClient, OAuthClient, RequestBuilding, TransformerPipelineSupport, TokenProvider, CommonClient, ActorContextExtractor, ActorSystemProvider, ExecutionContextProvider, JsonSupport, Json4sSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterSuggestionClient
  2. Configurations
  3. RestClient
  4. OAuthClient
  5. RequestBuilding
  6. TransformerPipelineSupport
  7. TokenProvider
  8. CommonClient
  9. ActorContextExtractor
  10. ActorSystemProvider
  11. ExecutionContextProvider
  12. JsonSupport
  13. Json4sSupport
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class OAuthRequestBuilder extends OAuthClient.RequestBuilder with BodyEncoder
    Definition Classes
    OAuthClient
  2. class RequestBuilder extends AnyRef
    Definition Classes
    RequestBuilding
  3. type RequestTransformer = (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  4. implicit class WithTransformation[A] extends AnyRef
    Definition Classes
    TransformerPipelineSupport
  5. implicit class WithTransformerConcatenation[A, B] extends (A) ⇒ B
    Definition Classes
    TransformerPipelineSupport

Abstract Value Members

  1. abstract val accessToken: AccessToken
    Definition Classes
    TokenProvider
  2. abstract val consumerToken: ConsumerToken
    Definition Classes
    TokenProvider
  3. implicit abstract def system: ActorSystem
    Definition Classes
    ActorSystemProvider

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. val Delete: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  5. val Get: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  6. val Head: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  7. val Options: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  8. val Patch: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  9. val Post: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  10. val Put: OAuthRequestBuilder
    Definition Classes
    OAuthClient → RequestBuilding
  11. lazy val accessTokenKey: String
    Definition Classes
    Configurations
  12. lazy val accessTokenSecret: String
    Definition Classes
    Configurations
  13. def addCredentials(credentials: HttpCredentials): RequestTransformer
    Definition Classes
    RequestBuilding
  14. def addHeader(headerName: String, headerValue: String): RequestTransformer
    Definition Classes
    RequestBuilding
  15. def addHeader(header: HttpHeader): RequestTransformer
    Definition Classes
    RequestBuilding
  16. def addHeaders(first: HttpHeader, more: HttpHeader*): RequestTransformer
    Definition Classes
    RequestBuilding
  17. val apiTwitterUrl: String
    Definition Classes
    Configurations
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def connection(implicit request: HttpRequest): Flow[HttpRequest, HttpResponse, Future[OutgoingConnection]]
    Attributes
    protected
    Definition Classes
    CommonClient
  21. lazy val consumerTokenKey: String
    Definition Classes
    Configurations
  22. lazy val consumerTokenSecret: String
    Definition Classes
    Configurations
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. implicit val executionContext: ExecutionContext
    Definition Classes
    ActorContextExtractor → ExecutionContextProvider
  26. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  29. implicit def header2AddHeader(header: HttpHeader): RequestTransformer
    Definition Classes
    RequestBuilding
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. implicit lazy val json4sFormats: Formats
    Definition Classes
    JsonSupport
  32. implicit def json4sMarshaller[A <: AnyRef](implicit serialization: Serialization, formats: Formats, shouldWritePretty: ShouldWritePretty): ToEntityMarshaller[A]
    Definition Classes
    Json4sSupport
  33. implicit def json4sUnmarshaller[A](implicit arg0: Manifest[A], serialization: Serialization, formats: Formats): FromEntityUnmarshaller[A]
    Definition Classes
    Json4sSupport
  34. implicit val log: Logger
    Definition Classes
    ActorContextExtractor
  35. def logRequest(logFun: (HttpRequest) ⇒ Unit): (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  36. def logRequest(log: LoggingAdapter, level: LogLevel): (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  37. def logRequest(implicit request: HttpRequest): HttpRequest
    Definition Classes
    CommonClient
  38. def logRequestResponse(requestStartTime: Long)(implicit request: HttpRequest): (HttpResponse) ⇒ HttpResponse
    Definition Classes
    CommonClient
  39. def logValue[T](logFun: (T) ⇒ Unit): (T) ⇒ T
    Definition Classes
    TransformerPipelineSupport
  40. def logValue[T](log: LoggingAdapter, level: LogLevel): (T) ⇒ T
    Definition Classes
    TransformerPipelineSupport
  41. def mapHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): RequestTransformer
    Definition Classes
    RequestBuilding
  42. implicit val materializer: ActorMaterializer
    Definition Classes
    ActorSystemProvider
  43. val mediaTwitterUrl: String
    Definition Classes
    Configurations
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. final def notify(): Unit
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  47. lazy val oauthProvider: OAuth2Provider
    Attributes
    protected
    Definition Classes
    OAuthClient
  48. def parseFailedResponse(response: HttpResponse): Future[TwitterException]
    Attributes
    protected
    Definition Classes
    CommonClient
  49. def removeHeader(clazz: Class[_]): RequestTransformer
    Definition Classes
    RequestBuilding
  50. def removeHeader[T <: HttpHeader](implicit arg0: ClassTag[T]): RequestTransformer
    Definition Classes
    RequestBuilding
  51. def removeHeader(headerName: String): RequestTransformer
    Definition Classes
    RequestBuilding
  52. def removeHeaders(names: String*): RequestTransformer
    Definition Classes
    RequestBuilding
  53. def sendAndReceive[T](request: HttpRequest, f: (HttpResponse) ⇒ Future[T]): Future[T]
    Attributes
    protected
    Definition Classes
    RestClient
  54. def sendReceiveAs[T](httpRequest: HttpRequest)(implicit arg0: Manifest[T]): Future[T]
    Definition Classes
    RestClient
  55. implicit val serialization: Serialization.type
    Definition Classes
    JsonSupport
  56. val siteStreamingTwitterUrl: String
    Definition Classes
    Configurations
  57. val statusStreamingTwitterUrl: String
    Definition Classes
    Configurations
  58. def suggestedCategories(language: Language = Language.English): Future[Seq[Category]]

    Access to Twitter’s suggested user list.

    Access to Twitter’s suggested user list. This returns the list of suggested user categories. It is recommended that applications cache this data for no more than one hour. For more information see https://dev.twitter.com/rest/reference/get/users/suggestions.

    language

    : By default it is English. Restricts the suggested categories to the requested language.

    returns

    : The representation of the category suggestions.

  59. def suggestions(slug: String, language: Language = Language.English): Future[Suggestions]

    Access the users in a given category of the Twitter suggested user list.

    Access the users in a given category of the Twitter suggested user list. It is recommended that applications cache this data for no more than one hour. For more information see https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug.

    slug

    : The short name of list or a category.

    language

    : By default it is English. Restricts the suggested categories to the requested language.

    returns

    : The representation of the user suggestions.

  60. def suggestionsMembers(slug: String): Future[Seq[User]]

    Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.

    Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. For more information see https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug/members.

    slug

    : The short name of list or a category.

    returns

    : The representation of the suggested users.

  61. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  62. def toString(): String
    Definition Classes
    AnyRef → Any
  63. val twitterVersion: String
    Definition Classes
    Configurations
  64. def unmarshal[T](requestStartTime: Long, f: (HttpResponse) ⇒ Future[T])(implicit request: HttpRequest, response: HttpResponse): Future[T]
    Attributes
    protected
    Definition Classes
    CommonClient
  65. val userStreamingTwitterUrl: String
    Definition Classes
    Configurations
  66. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. val withLogRequest: Boolean
    Definition Classes
    RestClientCommonClient
  70. val withLogRequestResponse: Boolean
    Definition Classes
    RestClientCommonClient
  71. def withOAuthHeader: (HttpRequest) ⇒ Future[HttpRequest]
    Definition Classes
    OAuthClient
  72. def withSimpleOAuthHeader: (HttpRequest) ⇒ Future[HttpRequest]
    Definition Classes
    OAuthClient

Deprecated Value Members

  1. def getSuggestedCategories(language: Language = Language.English): Future[Seq[Category]]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2) use suggestedCategories instead

  2. def getSuggestions(slug: String, language: Language = Language.English): Future[Suggestions]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2) use suggestions instead

  3. def getSuggestionsMembers(slug: String): Future[Seq[User]]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2) use suggestionsMembers instead

Inherited from Configurations

Inherited from RestClient

Inherited from OAuthClient

Inherited from RequestBuilding

Inherited from TransformerPipelineSupport

Inherited from TokenProvider

Inherited from CommonClient

Inherited from ActorContextExtractor

Inherited from ActorSystemProvider

Inherited from ExecutionContextProvider

Inherited from JsonSupport

Inherited from Json4sSupport

Inherited from AnyRef

Inherited from Any

Ungrouped