Access to 'Azure DevOps' API via R

Implementation of 'Azure DevOps' < https://azure.microsoft.com/> API calls. It enables the extraction of information about repositories, build and release definitions and individual releases. It also helps create repositories and work items within a project without logging into 'Azure DevOps'. There is the ability to use any API service with a shell for any non-predefined call.


vstsr

Build Status AppVeyor Build Status

The aim of vstsr is to make it easier to connect between R and Azure DevOps.

N.B. This used to link to Visual Studio Team Services, as part of 1.1 release this will point to the Azure DevOps APIs instead.

Commands will include getting repository information, git services and work item information.

Installation

install_github('ashbaldry/vstsr')
library(vstsr)

Initialisation

There are two ways to use the vstsr package:

  1. Creating an R6 object using vsts_account that contains simple methods to do all of the functions that are available in the package.
  2. Create an authorisation key using vsts_auth_key and then using that to run each of the functions within the package.

Method 1:

proj <- vsts_account$new(user = '<USER NAME>', pass= '<PASSWORD>', 
                         domain = '<VS DOMAIN>', project = '<VS PROJECT>')

Method 2:

auth_key <- vsts_auth_key(user = '<USER NAME>', pass= '<PASSWORD>')

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("vstsr")

1.1.0 by Ashley Baldry, 5 years ago


https://github.com/ashbaldry/vstsr, https://docs.microsoft.com/en-us/rest/api/azure/devops


Report a bug at https://github.com/ashbaldry/vstsr/issues


Browse source code at https://github.com/cran/vstsr


Authors: Ashley Baldry [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports R6, httr, RCurl, jsonlite

Suggests testthat


See at CRAN