An open API service indexing awesome lists of open source software.

https://github.com/squarecloudofc/sdk-api-js

A wrapper written in JavaScript with a focus on using our API.
https://github.com/squarecloudofc/sdk-api-js

javascript nodejs npm-package squarecloud typescript

Last synced: 4 months ago
JSON representation

A wrapper written in JavaScript with a focus on using our API.

Awesome Lists containing this project

README

          


Square Cloud Banner

@squarecloud/api

A NodeJS SDK for consuming the Square Cloud API.



NPM License
NPM Downloads

NPM Version


## Installation

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

## Documentation

Visit our [official documentation](https://docs.squarecloud.app/en/sdks/js/client) for more information about how to use this library.

## Getting Started

```ts
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](https://github.com/squarecloudofc/sdk-api-js).

## Authors

- [@joaotonaco](https://github.com/joaotonaco)
- [@joaootavios](https://github.com/joaootavios)