/bitrise-api

Primary LanguageTypeScriptMIT LicenseMIT

@novr/bitrise-api

This is a client library generated by OpenAPI Generator for interacting with the Bitrise API. It provides a convenient way to access Bitrise API endpoints from your application.

Installation

npm install @novr/bitrise-api

Usage

Configuration

The client can be configured by providing an instance of Configuration during initialization:

import { Configuration, BitriseApiClient } from '@novr/bitrise-api'

const config = new Configuration({
  basePath: 'https://api.bitrise.io/v0.1', // API base URL
  apiKey: 'your-api-key', // API key for authentication
  // Add any other configuration options as needed
})

Use the API

import { BuildsApi } from '@novr/bitrise-api'

// Making API Requests

try {
  const buildsApi = new BuildsApi(config)
  const response = await buildsApi.buildListAll()
  console.log(response.data)
} catch (error) {
  console.error('Error buildListAll API request:', error)
}

Examples

You can find usage example and more in-depth documentation in the example directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.