Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 648 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 648 Bytes

Taiga API client written in Go

This library doesn't cover all the API, so contributions are welcome.

Generate auth token

Run the script gen_token.sh to get e fresh auth token from your credentials.

Usage

Like many other Go API clients, this library follows the same pattern as go-github:

// Create a client
client := taigo.NewClient("YOUR-TAIGA-API-URL", "YOUR-AUTH-TOKEN")

// Get a project for its slug name
project, _, err := client.Project.GetBySlug("user-project")

// List userstories of the project
opts := taigo.UserStoryListOptions{ ProjectID: &project.ID }
userstories, _, err := client.UserStory.List(opts)