Set of arbitrarily chosen bindings to NPM's smsapi package, which itself is a Node's client to smsapi.pl (https://www.smsapi.pl/)
Install library's npm dependency in your Purescript project:
npm i smsapi
Then simply add Purescript bindings as dependency in your Purescript project:
bower install purescript-smsapi
main = launchAff_ do
let to = +48123456789
acessToken = -- oauth access token from smsapi.pl --
message = "Hello World!"
sendSms { msgType: Eco, to, message} =<< liftEffect (authenticateOAuth { accessToken })
Currently library supports only very small subset of npm's client API. If you're interested in unavailable yet features, please file an issue of considering creating a pull request. The library is simple and readable.
Library is co-created and funded by λ-terms
Module documentation is published on Pursuit.
See LICENSE file.