coinbase-pro-0.7.2.0: Client for Coinbase Pro

Safe HaskellNone
LanguageHaskell2010

CoinbasePro.Request

Contents

Synopsis

Documentation

Production

run :: ClientM a -> IO a Source #

Runs a coinbase pro HTTPS request and returns the result a

run products >>= print

run_ :: ClientM a -> IO () Source #

Same as run, except uses `()` instead of a type a

runWithManager :: Manager -> ClientM a -> IO a Source #

Allows the user to use their own ManagerSettings with run

do $
mgr  <- newManager tlsManagerSettings
prds <- runWithManager mgr products
print prds

Sandbox

runSandbox :: ClientM a -> IO a Source #

Runs a coinbase pro HTTPS request in sandbox and returns the result a

run products >>= print

runSandbox_ :: ClientM a -> IO () Source #

Same as runSandbox, except uses '()' instead of a type a

runSandboxWithManager :: Manager -> ClientM a -> IO a Source #

Allows the user to use their own ManagerSettings

do $
mgr  <- newManager tlsManagerSettings
prds <- runSandboxWithManager mgr products
print prds