Skip to content

jz222/caasy-sdk-js

Repository files navigation

Caasy SDK Javascript

A thin Javascript wrapper for the Caasy API.

Install

Install the SDK with npm i --save @caasy/sdk-js and import it with the import or require keyword.

const caasy = require('@caasy/sdk-js');

// or

import caasy from '@caasy/sdk-js';

Configuration

Before you use the SDK, it needs to be initialized with the init method.

caasy.init({ siteId: '<site ID>' });

Usage

Now, you can get started and conveniently request public data such as published blog posts from your Caasy instance.

const allBlogPosts = await caasy.posts.getAll();

Documentation

Full documentation will be available soon.

About

A thin Javascript wrapper for the Caasy API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published