npm.io
1.0.1 • Published 8 years ago

zesty-content-client

Licence
ISC
Version
1.0.1
Deps
1
Size
1 kB
Vulns
0
Weekly
0

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);
}