https://github.com/kiris/zaim4s
Zaim API binding library for the Scala language.
https://github.com/kiris/zaim4s
scala zaim
Last synced: 5 months ago
JSON representation
Zaim API binding library for the Scala language.
- Host: GitHub
- URL: https://github.com/kiris/zaim4s
- Owner: kiris
- License: apache-2.0
- Created: 2017-06-18T15:14:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-28T14:55:40.000Z (almost 9 years ago)
- Last Synced: 2023-06-30T19:05:00.968Z (almost 3 years ago)
- Topics: scala, zaim
- Language: Scala
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zaim4s
[](https://travis-ci.org/kiris/zaim4s)
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`
```scala
resolvers += "Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/"
libraryDependencies += "com.github.kiris" %% "zaim4s" % "0.1.2"
```
## Usage
```scala
import com.github.kiris.zaim4s.Zaim
import org.asynchttpclient.oauth.{ConsumerKey, RequestToken}
import scala.concurrent.ExecutionContext.Implicits.global
val zaim = Zaim(
new ConsumerKey(
"",
""
),
new RequestToken(
"",
""
)
)
// 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](https://twitter.com/kiris)