mirror of
https://github.com/jordienr/zenblog.git
synced 2026-08-29 10:21:35 -05:00
Official zendo.blog API Client
Install
npm install @zendoblog/client
Usage example
import { createClient } from "@zendoblog/client";
const cms = createClient({
privateKey: "MY_PRIVATE_KEY", // Go to your blog settings to get your private key
});
const posts = await cms.getAll();
const post = await cms.getBySlug("blog-slug");