@postiva/client

A comprehensive library for managing and retrieving content within your applications, @postiva/client streamlines your interaction with the Postiva platform, ensuring your content is always current and easily accessible.
2,123
Install
npm install @postiva/client
Latest Version:0.0.41
License:Apache-2.0
Last Updated:Jul 21, 2024
Links: npm
Maintainer: osmandlsmn

@postiva/client

Easily manage and retrieve content within your applications with @postiva/client, a powerful library that simplifies interactions with the Postiva platform. Keep your content up-to-date and accessible with our simple API.

For detailed API documentation and more examples, visit our official documentation.

npm version GitHub license

Features

  • Effortless Content Management: Seamlessly fetch and manage content within your application.
  • Pagination Support: Handle large datasets effectively with built-in pagination support.
  • REST API Support: Integrate your blog seamlessly into any tech stack with REST API support.
  • TypeScript Support: Enjoy type safety and autocompletion with TypeScript support.
  • Statistics: Get insights into your content's performance and engagement. (views, claps, likes)

Installation

You can install @postiva/client via npm, yarn, or pnpm:

npm install @postiva/client

Usage

To start using @postiva/client in your project, initialize the client by providing your workspace ID and API key:

import { createClient } = from "@postiva/client"

// Initialize Postiva Client
export const postivaClient = createClient({
  workspaceId: process.env.NEXT_PUBLIC_WORKSPACE_ID,
  apiKey: process.env.NEXT_PUBLIC_POSTIVA_API_KEY
});

Rest API Documentation

The REST API documentation for @postiva/client has been automatically generated by Bruno. Please refer to REST API Documentation for details.

Contributing

Contributions to @postiva/client are welcome! If you have ideas for improvements, found a bug, or want to contribute new features, please check out our contribution guidelines and code of conduct before opening an issue or submitting a pull request.

Contributors

Thank you for your contributions! We appreciate all the contributions from the community.

License

@postiva/client is available under the MIT License. For more details, see the LICENSE file.

Related Packages

@easy-cms/core

Embedded, code-first headless CMS for Nuxt and Next.js

25,029 2
@nubisco/cms-vue

Nubisco CMS content contract, evaluator, and Vue render kit.

1,408 0
@cosmicjs/sdk

Official JavaScript SDK for Cosmic. Fetch content, manage media, and generate AI...

129,302 18
@inkanjs/vite

Your inkan API inside the Vite dev server: one port, reloaded on every save, /do...

421 0
onebuild

Used to bundle and serve manifests web component that build on any UI frameworks...

10,419 0

Version History

Version Released License
0.0.41 Apache-2.0
0.0.40 Apache-2.0
0.0.39 Apache-2.0
0.0.38 Apache-2.0
0.0.37 Apache-2.0