trait TwitterSuggestionClient extends RestClient with Configurations
Implements the available requests for the suggestions
resource.
- Alphabetic
- By Inheritance
- TwitterSuggestionClient
- Configurations
- RestClient
- OAuthClient
- RequestBuilding
- TransformerPipelineSupport
- TokenProvider
- CommonClient
- ActorContextExtractor
- ActorSystemProvider
- ExecutionContextProvider
- JsonSupport
- Json4sSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
OAuthRequestBuilder extends OAuthClient.RequestBuilder with BodyEncoder
- Definition Classes
- OAuthClient
-
class
RequestBuilder extends AnyRef
- Definition Classes
- RequestBuilding
-
type
RequestTransformer = (HttpRequest) ⇒ HttpRequest
- Definition Classes
- RequestBuilding
-
implicit
class
WithTransformation[A] extends AnyRef
- Definition Classes
- TransformerPipelineSupport
-
implicit
class
WithTransformerConcatenation[A, B] extends (A) ⇒ B
- Definition Classes
- TransformerPipelineSupport
Abstract Value Members
-
abstract
val
accessToken: AccessToken
- Definition Classes
- TokenProvider
-
abstract
val
consumerToken: ConsumerToken
- Definition Classes
- TokenProvider
-
implicit abstract
def
system: ActorSystem
- Definition Classes
- ActorSystemProvider
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
-
val
Delete: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Get: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Head: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Options: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Patch: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Post: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
val
Put: OAuthRequestBuilder
- Definition Classes
- OAuthClient → RequestBuilding
-
lazy val
accessTokenKey: String
- Definition Classes
- Configurations
-
lazy val
accessTokenSecret: String
- Definition Classes
- Configurations
-
def
addCredentials(credentials: HttpCredentials): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
addHeader(headerName: String, headerValue: String): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
addHeader(header: HttpHeader): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
addHeaders(first: HttpHeader, more: HttpHeader*): RequestTransformer
- Definition Classes
- RequestBuilding
-
val
apiTwitterUrl: String
- Definition Classes
- Configurations
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
connection(implicit request: HttpRequest): Flow[HttpRequest, HttpResponse, Future[OutgoingConnection]]
- Attributes
- protected
- Definition Classes
- CommonClient
-
lazy val
consumerTokenKey: String
- Definition Classes
- Configurations
-
lazy val
consumerTokenSecret: String
- Definition Classes
- Configurations
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
executionContext: ExecutionContext
- Definition Classes
- ActorContextExtractor → ExecutionContextProvider
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit
def
header2AddHeader(header: HttpHeader): RequestTransformer
- Definition Classes
- RequestBuilding
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
lazy val
json4sFormats: Formats
- Definition Classes
- JsonSupport
-
implicit
def
json4sMarshaller[A <: AnyRef](implicit serialization: Serialization, formats: Formats, shouldWritePretty: ShouldWritePretty): ToEntityMarshaller[A]
- Definition Classes
- Json4sSupport
-
implicit
def
json4sUnmarshaller[A](implicit arg0: Manifest[A], serialization: Serialization, formats: Formats): FromEntityUnmarshaller[A]
- Definition Classes
- Json4sSupport
-
implicit
val
log: Logger
- Definition Classes
- ActorContextExtractor
-
def
logRequest(logFun: (HttpRequest) ⇒ Unit): (HttpRequest) ⇒ HttpRequest
- Definition Classes
- RequestBuilding
-
def
logRequest(log: LoggingAdapter, level: LogLevel): (HttpRequest) ⇒ HttpRequest
- Definition Classes
- RequestBuilding
-
def
logRequest(implicit request: HttpRequest): HttpRequest
- Definition Classes
- CommonClient
-
def
logRequestResponse(requestStartTime: Long)(implicit request: HttpRequest): (HttpResponse) ⇒ HttpResponse
- Definition Classes
- CommonClient
-
def
logValue[T](logFun: (T) ⇒ Unit): (T) ⇒ T
- Definition Classes
- TransformerPipelineSupport
-
def
logValue[T](log: LoggingAdapter, level: LogLevel): (T) ⇒ T
- Definition Classes
- TransformerPipelineSupport
-
def
mapHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): RequestTransformer
- Definition Classes
- RequestBuilding
-
implicit
val
materializer: ActorMaterializer
- Definition Classes
- ActorSystemProvider
-
val
mediaTwitterUrl: String
- Definition Classes
- Configurations
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
lazy val
oauthProvider: OAuth2Provider
- Attributes
- protected
- Definition Classes
- OAuthClient
-
def
parseFailedResponse(response: HttpResponse): Future[TwitterException]
- Attributes
- protected
- Definition Classes
- CommonClient
-
def
removeHeader(clazz: Class[_]): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
removeHeader[T <: HttpHeader](implicit arg0: ClassTag[T]): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
removeHeader(headerName: String): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
removeHeaders(names: String*): RequestTransformer
- Definition Classes
- RequestBuilding
-
def
sendAndReceive[T](request: HttpRequest, f: (HttpResponse) ⇒ Future[T]): Future[T]
- Attributes
- protected
- Definition Classes
- RestClient
-
def
sendReceiveAs[T](httpRequest: HttpRequest)(implicit arg0: Manifest[T]): Future[T]
- Definition Classes
- RestClient
-
implicit
val
serialization: Serialization.type
- Definition Classes
- JsonSupport
-
val
siteStreamingTwitterUrl: String
- Definition Classes
- Configurations
-
val
statusStreamingTwitterUrl: String
- Definition Classes
- Configurations
-
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.
-
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.
-
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
twitterVersion: String
- Definition Classes
- Configurations
-
def
unmarshal[T](requestStartTime: Long, f: (HttpResponse) ⇒ Future[T])(implicit request: HttpRequest, response: HttpResponse): Future[T]
- Attributes
- protected
- Definition Classes
- CommonClient
-
val
userStreamingTwitterUrl: String
- Definition Classes
- Configurations
-
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
- @throws( ... )
-
val
withLogRequest: Boolean
- Definition Classes
- RestClient → CommonClient
-
val
withLogRequestResponse: Boolean
- Definition Classes
- RestClient → CommonClient
-
def
withOAuthHeader: (HttpRequest) ⇒ Future[HttpRequest]
- Definition Classes
- OAuthClient
-
def
withSimpleOAuthHeader: (HttpRequest) ⇒ Future[HttpRequest]
- Definition Classes
- OAuthClient
Deprecated Value Members
-
def
getSuggestedCategories(language: Language = Language.English): Future[Seq[Category]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.2) use suggestedCategories instead
-
def
getSuggestions(slug: String, language: Language = Language.English): Future[Suggestions]
- Annotations
- @deprecated
- Deprecated
(Since version 2.2) use suggestions instead
-
def
getSuggestionsMembers(slug: String): Future[Seq[User]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.2) use suggestionsMembers instead