grammarly-install-auth

Featured

Install and configure Grammarly SDK/CLI authentication. Use when setting up a new Grammarly integration, configuring API keys, or initializing Grammarly in your project. Trigger with phrases like "install grammarly", "setup grammarly", "grammarly auth", "configure grammarly API key".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Grammarly Install & Auth ## Overview Configure Grammarly API authentication using OAuth 2.0 Bearer tokens. Grammarly provides three main APIs: Writing Score API, AI Detection API, and Plagiarism Detection API. All use the same auth pattern via `api.grammarly.com`. ## Prerequisites - Grammarly Enterprise account with API access - OAuth credentials from Grammarly admin portal - Required scopes: `scores-api:read`, `scores-api:write` ## Instructions ### Step 1: Configure Environment ```bash # .env (NEVER commit) GRAMMARLY_CLIENT_ID=your_client_id GRAMMARLY_CLIENT_SECRET=your_client_secret GRAMMARLY_ACCESS_TOKEN= # Populated after OAuth ``` ### Step 2: Obtain Access Token ```typescript // auth.ts import 'dotenv/config'; async function getAccessToken(): Promise<string> { const response = await fetch('https://api.grammarly.com/ecosystem/api/v1/oauth/token', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({ grant_type: 'client_credentials', client_id: process.env.GRAMMARLY_CLIENT_ID!, client_secret: process.env.GRAMMARLY_CLIENT_SECRET!, }), }); const { access_token, expires_in } = await response.json(); console.log(`Token obtained, expires in ${expires_in}s`); return access_token; } ``` ### Step 3: Verify Connection ```typescript async function verify(token: string) { const response = await fetch('https://api.grammarly.com/ecosystem/api/v2/scores', { method: ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category