Giter VIP home page Giter VIP logo

go-azuredevops's Introduction

go-azuredevops

GoDoc Quality Gate Status 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)
}

go-azuredevops's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-azuredevops's Issues

Avoid using Project parameter at the Client constructor

Hi,

Azure DevOps supports working with different Team Projects. And it looks like your Client type should not ask to provide Project parameter at the constructor (NewClient method) because there are [several APIs|https://docs.microsoft.com/en-us/rest/api/azure/devops/core/] which don't require projects at all. And it looks more consistent to pass Project only when you want to work with exact one project.

So right now Client describes a class for working with just one project but maybe it would be useful to have a separate type which will work with Azure DevOps in general and will be able to return your current "project" client.

Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.