zesty-content-client
v1.0.1
Published
This document describes how to use this library to extract page content from a Zesty page.
Downloads
3
Readme
zesty content JSON client
This document describes how to use this library to extract page content from a Zesty page.
Setup instructions
npm install zesty-content-client
Usage
const { getContent } = require('zesty-content-client');
async function foo() {
const url = 'mywebsite.com'; // your zesty website URL
const zid = '123'; // the ZID for the page you are looking for
const content = await getContent(url, zid);
}