digitalocean-kzs-0.1.0.3: digitalocean api for haskell

Safe HaskellNone
LanguageHaskell2010

DigitalOcean.Account

Synopsis

Documentation

account :: Authentication -> MonadIO m => m (Maybe Account) Source

Get User Information Example:

do
    tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN
    mayBeAcnt <- account $ Authentication tkn
    print $ show $ isJust mayBeAcnt