ynab: go.bmvs.io/ynab Index | Examples | Files | Directories

package ynab

import "go.bmvs.io/ynab"

Package ynab implements the client API

Index

Examples

Package Files

client.go

type ClientServicer Uses

type ClientServicer interface {
    User() *user.Service
    Budget() *budget.Service
    Account() *account.Service
    Category() *category.Service
    Payee() *payee.Service
    Month() *month.Service
    Transaction() *transaction.Service

    RateLimit() *api.RateLimit
}

ClientServicer contract for a client service API

func NewClient Uses

func NewClient(accessToken string) ClientServicer

NewClient facilitates the creation of a new client instance

Code:

c := ynab.NewClient("<valid_ynab_access_token>")
c.User().GetUser()

Directories

PathSynopsis
apiPackage api implements shared structures and behaviours of the API services
api/accountPackage account implements account entities and services
api/budgetPackage budget implements budget entities and services
api/categoryPackage category implements category entities and services
api/monthPackage month implements month entities and services
api/payeePackage payee implements payee entities and services
api/transactionPackage transaction implements transaction entities and services
api/userPackage user implements transaction user and services

Package ynab imports 15 packages (graph). Updated 2018-10-24. Refresh now. Tools for package owners.