0.0.10 • Published 2 years ago

@opencord/client v0.0.10

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

NPM version NPM downloads License

📦 Installation

$ npm install --save @opencord/client
# or
$ yarn add @opencord/client

⚙️ Initialization

import { getClient } from '@opencord/client';

const oc = getClient();

💡 Usage

The OpencordClient provides a set of methods for accessing the SDK's features.

For example, you can use the getCode() method to retrieve the authorization code.

const { code, message, data } = await oc.getCode();

if (code === 200) {
  console.log('✅ Get authorization code successed', data);
} else {
  console.log('❌ Get authorization code failed.', code, message);
}

📚 Documentation

See: https://developers.opencord.xyz/

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago