npm install @pullnote/client
import { PullnoteClient } from '@pullnote/client';
const pn = new PullnoteClient(PULLNOTE_KEY );
// Store
await pn.add('/about', {
title: 'About',
content: 'About the **Pullnote** Headless Content API'
});
// Retrieve
var content = await pn.getHtml('/about');
Svelte, React, Next, Vue and other Javascript frameworks npm install @pullnote/client
the npm repository.
Rust, Go, C, Swift, Flutter, Python use the REST API directly to pull content into anything with the ability to fetch data
API calls return and accept note structure variables.
All content added and retrieved programatically can also be edited via the https://pullnote.com/console console.