Files
2023-06-16 22:53:23 +02:00

21 lines
377 B
Markdown

# Official zendo.blog API Client
## Install
```bash
npm install @zendoblog/client
```
## Usage example
```typescript
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");
```