Js Rest Api Clients

screenshot of Js Rest Api Clients

REST API clients to interact with DatoCMS

Overview

This monorepo contains API clients to interact with DatoCMS. It includes clients for the Content Management API (to be used in browser and NodeJS environments), the Dashboard Management API (can be used in any JS environment), and a package to enable real-time updates instead of polling for asynchronous jobs. The clients can be used to integrate with DatoCMS and manage content and data.

Features

  • @datocms/cma-client-browser: Client for the Content Management API in browser environments.
  • @datocms/cma-client-node: Client for the Content Management API in NodeJS environments.
  • @datocms/dashboard-client: Client for the Dashboard Management API, compatible with any JS environment.
  • @datocms/rest-api-events: Enables real-time updates for asyncronous jobs using any of the above clients.

Summary

The DatoCMS API clients in this monorepo provide convenient interfaces to interact with DatoCMS's Content Management API and Dashboard Management API. They enable developers to easily integrate with DatoCMS, manage content and data, and receive real-time updates for asynchronous jobs. The clients are available as open source under the MIT License and can be found on GitHub. For detailed usage instructions, refer to the official documentation page.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.