Skip to content

Repository files navigation

fio

GoDocBuild StatusGo Report Card

API client for Fio Banka written in Go.

Install

go get github.com/jbub/fio

Docs

https://pkg.go.dev/github.com/jbub/fio

Example

package main
import (
"fmt""log""time""context""github.com/jbub/fio"
)
funcmain() {
client:=fio.NewClient("mytoken", nil)
opts:= fio.ByPeriodOptions{
DateFrom: time.Now(),
DateTo: time.Now(),
}
resp, err:=client.Transactions.ByPeriod(context.Background(), opts)
iferr!=nil {
log.Fatal(err)
}
for_, tx:=rangeresp.Transactions {
fmt.Println(tx.ID)
}
}

About

API client for Fio Banka written in Go.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages