View Source Tw.V1_1.Client (Tw v0.1.2)
Client for Twitter API v1.1.
Link to this section Summary
Link to this section Types
Specs
error() :: Tw.V1_1.TwitterAPIError.t() | Exception.t()
Specs
new_opt() ::
{:http_client, {Tw.HTTP.Client.implementation(), Tw.HTTP.Client.options()}}
| {:json,
{Tw.JSON.Serializer.implementation(), Tw.JSON.Serializer.encode_options(),
Tw.JSON.Serializer.decode_options()}}
| {:credentials, Tw.OAuth.V1_0a.Credentials.t()}
Specs
t() :: %Tw.V1_1.Client{
credentials: Tw.OAuth.V1_0a.Credentials.t(),
http_client: {Tw.HTTP.Client.implementation(), Tw.HTTP.Client.options()},
json:
{Tw.JSON.Serializer.implementation(), Tw.JSON.Serializer.encode_options(),
Tw.JSON.Serializer.decode_options()}
}