Popularity
2.2
Declining
Activity
0.0
Stable
3
2
1

Monthly Downloads: 20
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Web    

textlocal alternatives and similar packages

Based on the "Web" category.
Alternatively, view textlocal alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of textlocal or a related project?

Add another 'Web' Package

README

textlocal

Build Status

Haskell wrapper for sending SMS using textlocal SMS gateway.

Sending SMS

  1. Get an api key from textlocal.in
  2. Quick way to send:
import Network.Api.TextLocal
let cred = createUserHash "[email protected]" "my-secret-hash"
res <- sendSMS "hello world" ["911234567890"] cred
res
Right (TLResponse {status = Success, warnings = Nothing, errors = Nothing})

Or in a more configurable way:

import Network.Api.TextLocal
let mySettings = setTest True defaultSettings
res <- runSettings SendSMS mySettings
res
Right (TLResponse {status = Success, warnings = Nothing, errors = Nothing})