@habytorg/juro-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

📑 Client API for Juro

This client is intended to access Juro in a type safe manner. The API doc description

+1: it contains the OpenAPI specification of the Juro API, so you can easily build your own client - if you publish your package with the help of the spec, maybe mention this package as origin. 🍻

Prerequisites

The package is using the fetch API, hence you need to provide it with one of the followings:

  • use node version > 18 - recommended
  • use --experimental-fetch on node version >16.15.0
  • install node-fetch

Working with this project

  • Install the package: npm install / yarn install
  • Execute the tests: npm run test / yarn test
  • Check linter errors: npm run lint / yarn lint
  • Fix linter errors: npm run lint:fix /yarn run lint:fix
  • Regenerate the API defs from the open-api specs: npm run generate / yarn generate

Examples

import { Juro } from '@habyt/juro-api';

const juro = Juro('your-juro-api-key');
const result = await juro.health.healthCheck(); //result is { message: 'ok' }

Readme

Keywords

none

Package Sidebar

Install

npm i @habytorg/juro-api

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

161 kB

Total Files

148

Last publish

Collaborators

  • holczhabytorg