name: quickbooks
version: 0.5.0.1
synopsis: QuickBooks API binding.
license: BSD3
license-file: LICENSE
author: Stack Builders
maintainer: hackage@stackbuilders.com
copyright: Plow Technologies
category: Web
build-type: Simple
cabal-version: >=1.10
description: This package is a binding to the QuickBooks API. The
documentation can be test using the `cabal test doctests`
command. However, the documentation tests are run against
an Intuit sandbox which you must create.
.
Visit Intuit's developer site to create an "app":
.
After creating an app you can use your "app token" and
consumer information to aquire credentials here:
.
This package is configure by environment variables. Once
you have your credentials please export the following
environment:
.
* INTUIT_COMPANY_ID (your app's company ID)
.
* INTUIT_CONSUMER_KEY (your app's consumer key)
.
* INTUIT_CONSUMER_SECRET (your app's consumer secret)
.
* INTUIT_TOKEN (the OAuth1.0 Token you created above *used for tests*)
.
* INTUIT_SECRET (the OAuth1.0 Secret you created above *used for tests*)
.
* INTUIT_HOSTNAME (which will be
sandbox-quickbooks.api.intuit.com for development/test
environments. See the developer website for production)
.
You can now run verify the documentation using `cabal test`.
source-repository head
type: git
location: https://github.com/stackbuilders/quickbooks
library
exposed-modules: QuickBooks
QuickBooks.Authentication
QuickBooks.Customer
QuickBooks.Invoice
QuickBooks.Item
QuickBooks.Logging
QuickBooks.Types
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >= 4.7 && < 5
-- We restrict the version of aeson until
-- https://github.com/bos/aeson/issues/293
-- is fixed.
, aeson <= 0.9.0.1
, authenticate-oauth
, bytestring
, http-client
, http-types
, http-client-tls
, interpolate
, text
, fast-logger
, thyme
, old-locale
, email-validate
, yaml
test-suite doctests
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options: -Wall -threaded
hs-source-dirs: src, test
main-is: doctests.hs
other-modules: Data
build-depends:
base >= 4.7 && < 5,
doctest
buildable:
False