zenblog
v1.2.0
Published
The typescript client for zenblog
Readme
Official zenblog API Client
This is the official typescript client for zenblog.
Link to docs: https://zenblog.com/docs Link to the official website: https://zenblog.com
Install
npm install zenblogUsage example
import { createZenblogClient } from "zenblog";
const cms = createZenblogClient({
blogId: "MY_BLOG_ID", // Go to your blog settings to get your blog id
});
const posts = await cms.posts.list();
const post = await cms.posts.get({ slug: "post-slug" });