Skip to content

kiris/zaim4s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zaim4s

Build Status

This is a Zaim API binding library for the Scala language.

https://dev.zaim.net

supported scala version is 2.11.x 2.12.x

Setup

Edit file project/Build.scala or build.sbt

resolvers += "Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/"

libraryDependencies += "com.github.kiris" %% "zaim4s" % "0.1.2"

Usage

import com.github.kiris.zaim4s.Zaim
import org.asynchttpclient.oauth.{ConsumerKey, RequestToken}

import scala.concurrent.ExecutionContext.Implicits.global

val zaim = Zaim(
  new ConsumerKey(
    "<your consumer key>",
    "<your consumer secret>"
  ),
  new RequestToken(
    "<your access token key>",
    "<your access token secret>"
  )
)

// Showing the list of input data.
zaim.getMoneys(limit = 5)

// Showing the list of input data group by receipt id.
zaim.getMoneysGroupByReceiptId(limit = 5)

License

Apache License, Version 2.0

Copyright 2017 Yoshiaki Iwanaga @kiris

About

Zaim API binding library for the Scala language.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages