mirror of
https://github.com/jordienr/zenblog.git
synced 2026-09-24 07:35:01 -05:00
377 B
377 B
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");