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

0.2.1 • Public • Published

@kwentapay/api-client

NPM package to interact with the Kwenta API.

Installation

Package manager Command
NPM npm install @kwentapay/api-client
Yarn yarn add @kwentapay/api-client
PNPM pnpm install @kwentapay/api-client

Usage

Initialize the API client with:

import { createApiClient } from "@kwentapay/api-client";

const kwenta = createApiClient({
  // URL of the Kwentapay API to interact with.
  url: "https://api.kwenta.st",
  // API key to authenticate with the Kwentapay API.
  token: "YOUR_API_KEY",
});

Then you can use the kwenta object to interact with the Kwentapay API.

See the API documentation for more information.

See also

License

This project is licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @kwentapay/api-client

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

302 kB

Total Files

272

Last publish

Collaborators

  • _bbenoist_