Skip to content

squarecloudofc/sdk-api-js

Repository files navigation

Square Cloud Banner

@squarecloud/api

A NodeJS SDK for consuming the Square Cloud API.

Installation

npm install @squarecloud/api
// or
yarn add @squarecloud/api
// or
pnpm add @squarecloud/api

Documentation

Visit our official documentation for more information about how to use this library.

Getting Started

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")

Contributing

Feel free to contribute with suggestions or bug reports at our GitHub repository.

Authors