NPM package to interact with the Kwenta API.
Package manager | Command |
---|---|
NPM | npm install @kwentapay/api-client |
Yarn | yarn add @kwentapay/api-client |
PNPM | pnpm install @kwentapay/api-client |
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.
This project is licensed under the MIT License.