A NodeJS SDK for consuming the Square Cloud API.
npm install @squarecloud/api
// or
yarn add @squarecloud/api
// or
pnpm add @squarecloud/api
Visit our official documentation for more information about how to use this library.
import { SquareCloudAPI } from "@squarecloud/api"
// const { SquareCloudAPI } = require("@squarecloud/api");
const api = new SquareCloudAPI("Your API Key")
const user = await api.users.get()
const application = user.applications.get("Application ID")
Feel free to contribute with suggestions or bug reports at our GitHub repository.