0.1.1 • Published 2 years ago

@zendo/cms v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Official zendo.blog API Client

Install

    npm install @zendo/client

Usage example

import { createClient } from "@zendo/client";

const cms = createClient({
  blogId: "MY_BLOG_ID", // Go to your blog settings to get your blog id
});

const posts = await cms.posts.getAll();
const post = await cms.posts.getBySlug("post-slug");
0.1.1

2 years ago