Home
Softono
b

brunomvsouza

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
1

Software by brunomvsouza

ynab.go
Open Source

ynab.go

# YNAB API Go Library [![Go Report Card](https://goreportcard.com/badge/github.com/brunomvsouza/ynab.go)](https://goreportcard.com/report/github.com/brunomvsouza/ynab.go) [![GoDoc Reference](https://godoc.org/github.com/brunomvsouza/ynab.go?status.svg)](https://godoc.org/github.com/brunomvsouza/ynab.go) This is an UNOFFICIAL Go client for the YNAB API. It covers 100% of the resources made available by the [YNAB API](https://api.youneedabudget.com). ## Installation ``` go get github.com/brunomvsouza/ynab.go ``` ## Usage To use this client you must [obtain an access token](https://api.youneedabudget.com/#authentication-overview) from your [My Account](https://app.youneedabudget.com/settings) page of the YNAB web app. ```go package main import ( "fmt" "github.com/brunomvsouza/ynab.go" ) const accessToken = "bf0cbb14b4330-not-real-3de12e66a389eaafe2" func main() { c := ynab.NewClient(accessToken) budgets, err := c.Budget().GetBudgets() if err != nil { panic(err) } for _, budget := range budgets { fmt.Println(budget.Name) // ... } } ``` See the [godoc](https://godoc.org/github.com/brunomvsouza/ynab.go) to see all the available methods with example usage. ## Development - Make sure you have Go 1.19 or later installed - Run tests with `go test -race ./...` ## License BSD-2-Clause

Developer Tools Budget & Expense Tracking API Tools
78 Github Stars