homepage: ''
changelog-type: markdown
hash: 81477864120247a1127bbb2914201bfb26342e639dcc62cb81708b076b50b151
test-bench-deps:
  http-client: '>=0.6.4.1 && <0.7'
  base: '>=4.12 && <4.14'
  servant-client: '>=0.18.2 && <0.19'
  servant-client-core: '>=0.18.2 && <0.19'
  powerdns: -any
  tasty-hunit: '>=0.10.0.3 && <0.11'
  tasty: '>=1.4.1 && <1.5'
maintainer: Victor Nawothnig (dminuoso@icloud.com)
synopsis: PowerDNS API bindings for api/v1
changelog: |
  # Revision history for powerdns-api

  ## 0.1 -- 2021-05-28

  * Initial release
basic-deps:
  bytestring: '>=0.10.10 && <0.11'
  case-insensitive: '>=1.2.1 && <1.3'
  base: '>=4.12 && <4.14'
  time: '>=1.9.3 && <1.10'
  base64-bytestring: '>=1.1.0 && <1.2'
  servant-client: '>=0.18.2 && <0.19'
  text: '>=1.2.4 && <1.3'
  servant-client-core: '>=0.18.2 && <0.19'
  servant: '>=0.18.2 && <0.19'
  containers: '>=0.6.2 && <0.7'
  deepseq: '>=1.4.4 && <1.5'
  aeson: '>=1.5.6 && <1.6'
all-versions:
- '0.1'
author: Victor Nawothnig, Julian Jacobi
latest: '0.1'
description-type: haddock
description: |-
  PowerDNS API allows programmatic manipulation of zones and other metadata. This
  library is a thin wrapper, exposing most of the idiosyncracies directly.

  Users are advised to refer to the PowerDNS documentation and its source code for
  the exact semantics.

  All exposed API endpoints are provided.

  > import qualified PowerDNS.Client as P
  > import           Network.HTTP.Client (newManager, defaultManagerSettings)
  > import           Servant.Client (runClientM, mkClientEnv, parseBarseUrl)
  >
  > main :: IO
  > main = do
  >   uri <- parseBaseUrl "http://localhost:8081"
  >   mgr <- newManager defaultManagerSettings
  >   env <- P.applyXApiKey "secret" <$> mkClientEnv
  >
  >   Right r <- runClientM (P.statistics "localhost" Nothing Nothing) env)
  >   traverse_ print r
license-name: BSD-3-Clause

Update from Hackage at 2021-05-28T11:09:34Z
Update from Hackage at 2021-05-28T11:09:34Z
