This document describes how to use this library to extract page content from a Zesty page.
npm install zesty-content-clientThis document describes how to use this library to extract page content from a Zesty page.
---
```
npm install zesty-content-client
`
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);
}
``
---