Skip to content

coreyjonoliver/dwolla-scala-sdk

Repository files navigation

dwolla-scala-sdk

Build Status

Scala Dwolla API wrapper

Using with SBT

dwolla-scala-sdk is available on the Maven Central repository. Simply use the following:

libraryDependencies += "com.dwolla" % "dwolla-scala-sdk" % "1.0.0"

A snapshot is also available:

resolvers +=
  "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "com.dwolla" % "dwolla-scala-sdk" % "1.0.1-SNAPSHOT"

Usage

dwolla-scala-sdk uses Akka and Spray to make asynchronous requests. This requires defining a few implicits of the following types:

implicit val system = ActorSystem()
implicit val timeout: Timeout = 1.minutes
implicit val ec = ExecutionContext.global

Next create an instance of DwollaSdk:

val dwollaSdk = new DwollaSdk()

Now call methods on the instance of DwollaSdk as desired:

val createTransactionFuture = dwollaSdk.Transaction.create(accessToken, pin, "812-713-9234", .01)

Versioning

dwolla-scala-sdk uses Semantic Versioning.

License

Apache 2 - See LICENSE

About

Scala Dwolla API wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages