0.2.8 • Published 2 years ago

@lableb/api-client v0.2.8

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Lableb Cloud API Javascript Client

JS API Client that wraps Lableb Restful API for faster development experience.

Installation

yarn add @lableb/api-client
# OR
npm install @lableb/api-client

Browsers

<script src="https://unpkg.com/@lableb/api-client/dist/Lableb_API_Client.min.js"></script>

For browser users you need to access Lableb_API_Client from window.LablebSDK.Lableb_API_Client.

This library is meant for advanced usage of Lableb's API, if you only want the basic search, autocomplete and recommend operations please use Lableb JS SDK

Overview

For JS based projects, calling Lableb's Restful API might be daunting, knowing which URL map to which operation, or defining types for each request/response using a static typing library like typescript.

This library solve these simple, time consuming problems, it offers you:

  • a wrapper around most of Lableb's Restful API
  • static type definition for each request and response

Usage

import { LablebAPIClient } from '@lableb/api-client';

let lablebClient = LablebAPIClient();

lablebClient represents the wrapper around Lableb's API, a sample example of making a login:

// login example
lablebClient.auth.login({ email: '', password: '' });

API

Lableb Client wrap most important of Lableb's API Restful calls

FAQ:

  • I have an issue, what can I do to solve it?

    If you find an issue you can open an issue at the git repository, or contact us at support@lableb.com

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.1

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago