Description
Access to 'Azure DevOps' API via R.
Description
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.
README.md
vstsr
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:
- Creating an R6 object using
vsts_account
that contains simple methods to do all of the functions that are available in the package. - 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>')