@pndewit/azure-api-client
v2.1.0
Published
A tiny client to communicate with the Azure API
Downloads
79
Readme
@pndewit/azure-api-client
A tiny client to communicate with the Azure API.
Installation
npm install --save @pndewit/azure-api-client
Usage
// Import the package
import AzureAPI from '@pndewit/azure-api-client';
// Set up a client instance with default values for all API requests
const azureAPI = new AzureAPI('my_personal_access_token', 'https://dev.azure.com/my_organization/', 'my_project');
// Start using the client
const repository = await azureAPI.repositories.get('my-repository');