GitHub - brunomvsouza/ynab.go: Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API. (original) (raw)
This is an UNOFFICIAL Go client for the YNAB API. It covers 100% of the resources made available by the YNAB API.
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)
// ...
}}