@kwentapay/api-client
v0.2.1
Published
Kwenta API Client
Downloads
6
Readme
@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.