smsaero: SMSAero API and HTTP client based on servant library.

[ bsd3, library, web ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.2, 0.3, 0.4, 0.4.1, 0.5, 0.6, 0.6.1, 0.6.2, 0.7, 0.7.1
Dependencies aeson, base (>=4.7 && <5), either, servant (>=0.4 && <0.5), servant-client, text, time [details]
License BSD-3-Clause
Author Nickolay Kudasov
Maintainer nickolay@getshoptv.com
Category Web
Home page https://github.com/GetShopTV/smsaero
Source repo head: git clone https://github.com/GetShopTV/smsaero.git
Uploaded by NickolayKudasov at 2015-08-20T20:47:47Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7440 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-10-19 [all 2 reports]

Readme for smsaero-0.1

[back to package description]

smsaero

Build Status

SMSAero API and HTTP client based on servant library.

Usage

Import SMSAero and Control.Monad.Trans.Either module to interact with SMSAero:

>>> :s -XOverloadedStrings
>>> import SMSAero
>>> import Control.Monad.Trans.Either
>>> let credentials = SMSAeroAuth "user@example.com" "md5-password-hash"
>>> runEitherT $ smsAeroBalance credentials
Right (ResponseOK (BalanceResponse 10.0))

Contributing

Contributions and bug reports are welcome!

GetShopTV Team