SharpAPI Proofreader checks your text for grammar, spelling, punctuation, and style issues. Provides detailed corrections and suggestions to improve your writing quality.
- Requirements
- Installation
- Usage
- API Documentation
- Examples
- Use Cases
- API Endpoint
- Related Packages
- License
- Node.js >= 16.x
- npm or yarn
npm install @sharpapi/sharpapi-node-proofreadVisit SharpAPI.com to get your API key.
const { SharpApiProofreadService } = require('@sharpapi/sharpapi-node-proofread');
const apiKey = process.env.SHARP_API_KEY; // Store your API key in environment variables
const service = new SharpApiProofreadService(apiKey);
const text = 'This text has some erors that need fixing.';
async function processText() {
try {
// Submit processing job
const statusUrl = await service.proofread(text);
console.log('Job submitted. Status URL:', statusUrl);
// Fetch results (polls automatically until complete)
const result = await service.fetchResults(statusUrl);
console.log('Result:', result.getResultJson());
} catch (error) {
console.error('Error:', error.message);
}
}
processText();The service provides methods for processing content asynchronously. All methods return a status URL for polling results.
Parameters:
content(string, required): The content to processlanguage(string, optional): Output languagevoice_tone(string, optional): Desired tone (e.g., professional, casual)context(string, optional): Additional context for better results
For complete API specifications, see the Postman Documentation.
The API returns structured JSON data. Response format varies by endpoint - see documentation for details.
const { SharpApiProofreadService } = require('@sharpapi/sharpapi-node-proofread');
const service = new SharpApiProofreadService(process.env.SHARP_API_KEY);
// Customize polling behavior if needed
service.setApiJobStatusPollingInterval(10); // Poll every 10 seconds
service.setApiJobStatusPollingWait(180); // Wait up to 3 minutes
// Use the service
// ... (implementation depends on specific service)For more examples, visit the Product Page.
- Content Quality: Ensure error-free blog posts and articles
- Email Composition: Check emails before sending
- Document Review: Proofread reports and documentation
- E-commerce: Quality check product descriptions
- Customer Support: Verify response quality
- Academic Writing: Check essays and research papers
POST /content/proofread
For detailed API specifications, refer to:
- @sharpapi/sharpapi-node-paraphrase
- @sharpapi/sharpapi-node-translate
- @sharpapi/sharpapi-node-summarize-text
This project is licensed under the MIT License. See the LICENSE.md file for details.
- Documentation: SharpAPI.com Documentation
- Issues: GitHub Issues
- Email: contact@sharpapi.com
Powered by SharpAPI - AI-Powered API Workflow Automation
