strive-3.0.4: A client for the Strava V3 API.
Strive.Client
Description
Types and functions for dealing with the API client itself.
Synopsis
data Client Source #
Strava V3 API client.
Constructors
Fields
Instances
Methods
showsPrec :: Int -> Client -> ShowS #
show :: Client -> String #
showList :: [Client] -> ShowS #
accessToken :: Lens Client String Source #
requester :: Lens Client (Request -> IO (Response ByteString)) Source #
buildClient :: Maybe Text -> IO Client Source #
Build a new client using the default HTTP manager to make requests.