build-client

The Crystal module for the Build.io API V1

Authentication

All endpoints accept an OAuth Bearer token in the Authorization header.

Tokens come in three kinds, distinguished by their resource owner:

The /api/v1/me response shape varies by token kind: user tokens return { email }; app-scoped tokens return { app, email } where email belongs to the user that minted the token.

This SDK is automatically generated by the OpenAPI Generator project:

Installation

Install from Git

Add the following to shard.yaml

dependencies:
  build-client:
    github: buildio/sdk-crystal-lang
    version: ~> 1.1.37

Development

Install dependencies

shards

Run the tests:

crystal spec