|
| 1 | +# SharpAPI Node.js Client SDK |
| 2 | + |
| 3 | +🚀 Automate workflows with AI-powered API |
| 4 | + |
| 5 | +## Leverage AI API to streamline workflows in E-Commerce, Marketing, Content Management, HR Tech, Travel, and more. |
| 6 | + |
| 7 | +[](https://www.npmjs.com/package/sharpapi-node-client) |
| 8 | +[](https://github.com/yourusername/sharpapi-node-client/blob/main/LICENSE.md) |
| 9 | + |
| 10 | +#### Save time on repetitive content analysis and generation tasks that your app users perform daily. |
| 11 | + |
| 12 | +See more at [SharpAPI.com Website »](https://sharpapi.com/) |
| 13 | + |
| 14 | +## Requirements |
| 15 | + |
| 16 | +- Node.js >= 14.x |
| 17 | + |
| 18 | + |
| 19 | +## Installation |
| 20 | + |
| 21 | +```bash |
| 22 | +npm install sharpapi-node-client |
| 23 | +``` |
| 24 | + |
| 25 | +## What can it do for you? |
| 26 | + |
| 27 | +- **E-commerce** |
| 28 | + - Generate engaging product introductions. |
| 29 | + - Create personalized thank-you emails. |
| 30 | + - Streamline product categorization. |
| 31 | + - Perform sentiment analysis on product reviews. |
| 32 | + |
| 33 | +- **Content & Marketing Automation** |
| 34 | + - Translate text for a global audience. |
| 35 | + - Paraphrase and proofread any text. |
| 36 | + - Detect spam content. |
| 37 | + - Extract contact information. |
| 38 | + - Summarize content and generate keywords/tags. |
| 39 | + - Generate SEO meta tags. |
| 40 | + |
| 41 | +- **HR Tech** |
| 42 | + - Generate job descriptions. |
| 43 | + - Identify related job positions and skills. |
| 44 | + - Parse and extract information from resumes. |
| 45 | + |
| 46 | +- **Travel, Tourism & Hospitality** |
| 47 | + - Analyze sentiment in travel reviews. |
| 48 | + - Categorize tours, activities, and hospitality products. |
| 49 | + |
| 50 | +## Usage |
| 51 | + |
| 52 | +### Simple Example |
| 53 | + |
| 54 | +```javascript |
| 55 | +const { SharpApiService } = require('sharpapi-node-client'); |
| 56 | + |
| 57 | +const sharpApi = new SharpApiService('YOUR_SHARP_API_KEY'); |
| 58 | + |
| 59 | +(async () => { |
| 60 | + try { |
| 61 | + const statusUrl = await sharpApi.productCategories( |
| 62 | + 'Lenovo Chromebook Laptop (2023), 14" FHD Touchscreen Slim 3, 8-Core MediaTek Kompanio 520 CPU, 4GB RAM, 128GB Storage', |
| 63 | + 'German', // optional language |
| 64 | + 400, // optional quantity |
| 65 | + 'Neutral', // optional voice tone |
| 66 | + 'Optional current e-store categories' // optional context |
| 67 | + ); |
| 68 | + |
| 69 | + const resultSharpApiJob = await sharpApi.fetchResults(statusUrl); |
| 70 | + console.log(resultSharpApiJob.getResultJson()); |
| 71 | + } catch (error) { |
| 72 | + console.error(error); |
| 73 | + } |
| 74 | +})(); |
| 75 | +``` |
| 76 | + |
| 77 | +## Documentation |
| 78 | +For detailed usage and API methods, please refer to the [SharpAPI.com Documentation](https://sharpapi.com/documentation). |
| 79 | + |
| 80 | +## Changelog |
| 81 | +Please see CHANGELOG.md for more information on what has changed recently. |
| 82 | + |
| 83 | +## License |
| 84 | + |
| 85 | +The MIT License (MIT). Please see License File for more information. |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
0 commit comments