@snapfrozen/snapflow-sdk
v2.7.1
Published
OpenAPI client for Snapflow API
Downloads
139
Readme
Snapflow SDK
The Snapflow SDK is a JavaScript/TypeScript library designed to facilitate communication with the Snapflow API. This SDK provides a convenient way to interact with Snapflow services, making it easier to integrate Snapflow functionalities into your applications.
Installation
To install the Snapflow SDK, you can use npm:
npm install @snapfrozen/snapflow-sdk
Available apis:
- OauthTokenApi
- HubspotPropertyApi
- ValueApi
- XeroPropertyApi
- OpensolarApi
- BridgeSelectPropertyApi
Usage
Here's a basic example of how to use the Snapflow SDK in your project:
import { OauthTokenApi } from "@snapfrozen/snapflow-sdk";
async function main() {
const tokensApi = new OauthTokenApi({
accessToken: "your-token",
});
const res = await tokensApi.oauthTokensGet();
console.log(res.data.data);
}
main();
Build
This SDK is generated by Swagger Codegen from the OpenAPI spec at https://connect.snapflow.com.au/swagger
Run this command to update the SDK
make generate