/buxfer-api

A very lightweight JVM library allowing to access the Buxfer API.

Primary LanguageKotlinApache License 2.0Apache-2.0

Buxfer API

A very lightweight JVM library allowing to access the Buxfer API. Written in Kotlin.

This library uses OkHTTP and GSON under the hood.

License: Apache 2.0

Usage

Include the library in your build:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.imeszaros:buxfer-api:v0.1'
}

Instantiate and call the API:

fun main(args: Array<String>) {
    val buxfer = Buxfer.login("username", "password")
    buxfer.transactions().transactions?.forEach(::println)
}