Back to godoc.org
go.bmvs.io/ynab

Package ynab

v1.3.0
Latest Go to latest

The latest major version is .

Published: Dec 20, 2018 | License: BSD-2-Clause | Module: go.bmvs.io/ynab

Overview

Package ynab implements the client API

Index

Examples

type ClientServicer

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

func NewClient(accessToken string) ClientServicer

NewClient facilitates the creation of a new client instance

Example

Code:

package main

import (
	"go.bmvs.io/ynab"
)

func main() {
	c := ynab.NewClient("<valid_ynab_access_token>")
	c.User().GetUser()
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier