@postiva/client
TypeScript icon, indicating that this package has built-in type declarations

0.0.41 • Public • Published

@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.4134latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.4134
0.0.401
0.0.390
0.0.380
0.0.370
0.0.360
0.0.350
0.0.340
0.0.330
0.0.320
0.0.310
0.0.300
0.0.290
0.0.280
0.0.270
0.0.260
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.181
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10
0.0.00

Package Sidebar

Install

npm i @postiva/client

Weekly Downloads

36

Version

0.0.41

License

Apache-2.0

Unpacked Size

51.8 kB

Total Files

7

Last publish

Collaborators

  • osmandlsmn