Yet another scala wrapper for the Mandrill V1 API.
It uses argonaut for json encoding/decoding and dispatch for asynchronous http interaction.
Currently it partially supports the following Mandrill APIs:
- users
- messages
- subaccounts
When using sbt add the following to your build file:
libraryDependencies += "io.skyfii" %% "skyfii-mandrill" % "0.1.0"
In an SBT console:
scala> import scala.concurrent._
scala> import scala.concurrent.duration._
scala> import scala.concurrent.ExecutionContext.Implicits.global
scala> import io.skyfii.mandrill.service._
scala> val api = new MandrillApiV1("YOUR-API-KEY")
scala> Await.result(api.ping, 10 seconds)
res1: Either[io.skyfii.mandrill.model.Error,String] = Right("PONG!")