|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -- v1.0.2 initial release |
| 3 | +## March 23, 2023 - v1.1.0 update |
4 | 4 |
|
5 |
| -All notable changes to `sharpapi-laravel-client` will be documented in this file. |
| 5 | +### 1. new methods added |
| 6 | + |
| 7 | +#### 1.2. Paraphrase text: `paraphrase()` |
| 8 | +Generates a paraphrased version of the provided text. |
| 9 | + |
| 10 | +[Check Documentation](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#aea28008-ac67-4245-a79b-26788bce3f44) |
| 11 | + |
| 12 | +#### 1.2 Proofread & Grammar Check: `proofread()` |
| 13 | + |
| 14 | +Proofreads (and checks grammar) of the provided text. |
| 15 | + |
| 16 | +[Check Documentation](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#dcb4a490-1243-4001-93fc-652c570dbcd7) |
| 17 | + |
| 18 | +#### 1.3 Subscription Info / Quota Check: `quota()` |
| 19 | + |
| 20 | +Endpoint to check details regarding the subscription's current period. |
| 21 | + |
| 22 | +```json |
| 23 | +{ |
| 24 | + "timestamp": "2024-03-19T12:49:41.445736Z", |
| 25 | + "on_trial": false, |
| 26 | + "trial_ends": "2024-03-17T07:57:46.000000Z", |
| 27 | + "subscribed": true, |
| 28 | + "current_subscription_start": "2024-03-18T12:37:39.000000Z", |
| 29 | + "current_subscription_end": "2024-04-18T12:37:39.000000Z", |
| 30 | + "subscription_words_quota": 100000, |
| 31 | + "subscription_words_used": 9608, |
| 32 | + "subscription_words_used_percentage": 0.1 |
| 33 | +} |
| 34 | +``` |
| 35 | +* "subscription_words_used_percentage" is a percentage of current monthly quota usage |
| 36 | +* and might serve as an alert to the user of the depleted credits. |
| 37 | +* With a value above 80%, it's advised to subscribe to more credits |
| 38 | +* at https://sharpapi.com/dashboard/credits to avoid service disruption. |
| 39 | + |
| 40 | +[Check Documentation](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#7c401a21-8354-4589-a20a-573d1ae00d65) |
| 41 | + |
| 42 | +#### 1.4 Subscription Info / Quota Check: `ping()` |
| 43 | + |
| 44 | +Simple PING endpoint to check the availability of the API and its internal time zone (timestamp). |
| 45 | + |
| 46 | +```json |
| 47 | +{ |
| 48 | + "ping": "pong", |
| 49 | + "timestamp": "2024-03-12T08:50:11.188308Z" |
| 50 | +} |
| 51 | +``` |
| 52 | + |
| 53 | +[Check Documentation](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#12a4aa9e-15cd-49a9-84ff-204ddc1116a3) |
| 54 | + |
| 55 | +### 2. New Parameters added |
| 56 | + |
| 57 | +#### 2.1 `max_quantity` - allows to limit the amount of returned items |
| 58 | + |
| 59 | +**Added to methods:** |
| 60 | +- E-commerce > Product Categories / `productCategories()` |
| 61 | +- Travel, Tourism & Hospitality > Tours & Activities Product Categories / `toursAndActivitiesProductCategories()` |
| 62 | +- Travel, Tourism & Hospitality > Hospitality Product Categories / `hospitalityProductCategories()` |
| 63 | +- HR Tech > Related Job Positions / `relatedJobPositions()` |
| 64 | +- HR Tech > Related Skills / `relatedSkills()` |
| 65 | + |
| 66 | +#### 2.2 `max_length` - allows to instruct AI model to limit the output of generated text |
| 67 | + |
| 68 | +Please keep in mind that max_length serves as a strong suggestion for the Language Model, |
| 69 | +rather than a strict requirement, to maintain the general sense of the outcome. |
| 70 | + |
| 71 | +**Added to methods:** |
| 72 | +- E-commerce > Generate Product Intro / `generateProductIntro()` |
| 73 | +- E-commerce > Generate Thank You E-mail / `generateThankYouEmail()` |
| 74 | +- Content & Marketing Automation > Summarize Content / `summarizeText()` |
| 75 | +- Content & Marketing Automation > Paraphrase Text / `paraphrase()` |
| 76 | + |
| 77 | +#### 2.3 `voice_tone` - Tone of voice of the generated text |
| 78 | + |
| 79 | +You can set your preferred writing style by providing |
| 80 | +an optional voice_tone parameter. It can be adjectives like |
| 81 | +`funny` or `joyous`, or even the name of a famous writer. |
| 82 | +You can provide multiple tones at the same time. |
| 83 | + |
| 84 | +**Added to methods:** |
| 85 | +- SEO > Generate SEO Tags / `generateSeoTags()` |
| 86 | +- Content & Marketing Automation > Generate Keywords/Tags / `generateKeywords()` |
| 87 | +- Content & Marketing Automation > Summarize Content / `summarizeText()` |
| 88 | +- Content & Marketing Automation > Paraphrase Text / `paraphrase()` |
| 89 | +- Content & Marketing Automation > Translate Text / `translate()` |
| 90 | + - Travel, Tourism & Hospitality > Tours & Activities Product Categories / `toursAndActivitiesProductCategories()` |
| 91 | +- Travel, Tourism & Hospitality > Hospitality Product Categories / `hospitalityProductCategories()` |
| 92 | +- HR Tech > Generate Job Description / `generateJobDescription()` |
| 93 | +- E-commerce > Product Categories / `productCategories()` |
| 94 | +- E-commerce > Generate Product Intro / `generateProductIntro()` |
| 95 | +- E-commerce > Generate Thank You E-mail / `generateThankYouEmail()` |
| 96 | + |
| 97 | +#### 2.4 `context` - adds more context/instructions for content processing |
| 98 | + |
| 99 | +**Added to methods:** |
| 100 | +- HR Tech > Generate Job Description / `generateJobDescription()` |
| 101 | +- E-commerce > Generate Thank You E-mail / `generateThankYouEmail()` |
| 102 | +- E-commerce > Product Categories / `productCategories()` |
| 103 | +- Travel, Tourism & Hospitality > Tours & Activities Product Categories / `toursAndActivitiesProductCategories()` |
| 104 | +- Travel, Tourism & Hospitality > Hospitality Product Categories / `hospitalityProductCategories()` |
| 105 | +- Content & Marketing Automation > Translate Text / `translate()` |
| 106 | +- Content & Marketing Automation > Paraphrase Text / `paraphrase()` |
| 107 | + |
| 108 | +### 3.0 Added ENV variable to set custom User-Agent for Affiliate Program members. |
| 109 | + |
| 110 | +Now you can set this inside `.env` file of your app: |
| 111 | +```bash |
| 112 | +SHARP_API_USER_AGENT="SharpAPILaravelAgent/1.1.0" |
| 113 | +``` |
| 114 | + |
| 115 | +More info at https://sharpapi.com/affiliate_program |
| 116 | + |
| 117 | +## December 10, 2023 - v1.0.2 |
| 118 | +- v1.0.2 initial release |
0 commit comments