fatal10110 / go-azuredevops

A Go client library for accessing the Azure DevOps API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-azuredevops

GoDoc Build Status codecov Go Report Card

go-azuredevops is a Go client library for accessing the Azure DevOps API. This is very much work in progress, so at the moment supports a small subset of the API.

Services

There is partial implementation for the following services

  • Boards
  • Builds
  • Favourites
  • Iterations
  • Pull Requests
  • Work Items

Usage

import "github.com/benmatselby/go-azuredevops/azuredevops

Construct a new Azure DevOps Client

v := azuredevops.NewClient(account, project, token)

Get a list of iterations

iterations, error := v.Iterations.List(team)
if error != nil {
    fmt.Println(error)
}

for index := 0; index < len(iterations); index++ {
    fmt.Println(iterations[index].Name)
}

About

A Go client library for accessing the Azure DevOps API

License:MIT License


Languages

Language:Go 98.3%Language:Makefile 1.7%