Skip to content

tcsavage/twilio-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twilio-haskell

Send SMS easily:

{-# LANGUAGE OverloadedStrings #-}
import Control.Monad.Trans.Maybe
import Twilio

main :: IO ()
main =
    let u = User "Your Twilio User ID" "Your Twilio Auth Secret"
        send = sendMessage u
        message = "Boo"
        from = "+18001234567"
        to = "+19001234567"
    in
        do
          status <- runMaybeT $ send $ SMS from to message
          putStrLn $ show status

About

Haskell client for Twilio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •