0.2.3 • Published 2 years ago

@znd/client v0.2.3

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

Official zendo.blog API Client

Install

    npm install @znd/client

Usage example

import { createClient } from "@zendoblog/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.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago