Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 }
ClientServicer contract for a client service API
func NewClient ¶
func NewClient(accessToken string) ClientServicer
NewClient facilitates the creation of a new client instance
Example ¶
package main import ( "go.bmvs.io/ynab" ) func main() { c := ynab.NewClient("<valid_ynab_access_token>") c.User().GetUser() }
Output:
Click to show internal directories.
Click to hide internal directories.