0.0.10 • Published 1 year ago

@opencord/client v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago