go-fintual is a Go client library for accessing the Fintual API.
To install the library, simply
go get github.com/ferueda/go-fintual
import "github.com/ferueda/go-fintual/fintual"
Construct a new Fintual client, then use the various services on the client to access different parts of the Fintual API. For example:
client := fintual.NewClient(nil)
ctx := context.Background()
// list all banks
banks, err := client.Banks.ListAll(ctx, nil)
Some API methods have optional parameters that can be passed in order to filter results. For example:
client := fintual.NewClient(nil)
ctx := context.Background()
// list all banks with the word "nova" in their name
params := &fintual.BankListParams{Query: "nova"}
banks, err := client.Banks.ListAll(ctx, params)
For authenticating the client, just call the provided Client.Authenticate method with valid credentials:
client := fintual.NewClient(nil)
ctx := context.Background()
err := client.Authenticate(ctx, "[email protected]", "validPassword")
- POST /access_token
- GET /asset_providers
- GET /asset_providers/:id
- GET /asset_providers/:id/conceptual_assets
- GET /banks
- GET /conceptual_assets
- GET /conceptual_assets/:id
- GET /conceptual_assets/:id/real_assets
- GET /goals
- GET /goals/:id
- GET /real_assets/:id
- GET /real_assets/:id/days
- GET /real_assets/:id/expense_ratio
- Fork a repository
- Add/Fix something
- Check that tests are passing
- Create PR
Current contributors:
This library is distributed under the MIT License found in the LICENSE file.