Skip to main content

Overview

Sapling has SDKs that assist in grammar checking text for Python and JavaScript, and an HTTP API that is language agnostic.

API Key

To use a Sapling SDK or the HTTP API, a private key needs to be provisioned first.

Developer Key

A rate-limited API developer key can be provisioned from the Sapling API dashboard. Developer keys allow for processing of 5000 characters every 24 hours. Subscribe for production access and usage-based pricing.

HTML

Here's the HTML quickstart.

This is a JavaScript library that you can linked to or serve locally. It has a Sapling observer that wraps textarea and contenteditable HTML elements and displays underlines and edits.

JavaScript (Node.js)

Here's the JavaScript quickstart.

Currently Node.js is supported. Contact us for additional options.

JavaScript Frontend

Here's the JavaScript frontend documentation.

This is an npm package that provides a Sapling observer that wraps textarea and contenteditable HTML elements and displays underlines and edits.

This can be directly imported into JavaScript or files that transpile into JavaScript (such as Typescript/JSX). It can then be used with Node.js rendering frameworks such as React, Vue, and and Angular.

JavaScript Backend

Here's the JavaScript backend documentation.

Sapling provides an ES6 (ECMAScript 2015) npm package. The package wraps the Sapling HTTP API.

Python

Here's the Python quickstart.

Sapling provides a Python 3 wrapper for the Sapling HTTP API.

This can be accessed through PyPI / pip as well as Github.