kothar / asana-go

This module is mirrored to bitbucket.org/mikehouston/asana-go to avoid breaking existing imports

Home Page:https://bitbucket.org/mikehouston/asana-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asana API client for Go

This project implements an API client for the Asana REST API.

Getting started

Here are some very brief examples of using the client. There are comments in the code, but there is a test application in cmd/asana which shows how some basic requests can be used.

To use a personal access token:

client := asana.NewClientWithAccessToken(token)

To use OAuth login, see the methods in oauth.go.

To fetch workspace details:

w := &asana.Workspace{
  ID: "12345",
}

w.fetch(client)

To list tasks in a project:

p := &asana.Project{
  ID: "3456",
}

tasks, nextPage, err := p.Tasks(client, &asana.Options{Limit: 10})

About

This module is mirrored to bitbucket.org/mikehouston/asana-go to avoid breaking existing imports

https://bitbucket.org/mikehouston/asana-go

License:MIT License


Languages

Language:Go 100.0%