dexterleng / grammarly-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grammarly API

This is just a demo how you can use the Grammarly API.

Refer to api-docs.md or just use DevTools on Firefox (can't see cookies on Chrome).

The cookies are obtain from GET https://grammarly.com/.

Usage:

(async function () {
    try {
      const g = new Grammarly();
      await g.init();
      g.check("helloworld");
    } catch (error) {
      console.log(error);
    }
  })();

About


Languages

Language:JavaScript 100.0%