This package (sharpapi/sharpapi-php-client) has been deprecated and is no longer maintained.
Why?
- Better performance with specialized packages
- Smaller dependencies (install only what you need)
- Easier maintenance and faster updates
- Independent versioning per endpoint
What to do:
- Existing users: Your code will continue to work, but migrate to specialized packages for ongoing support
- New projects: Use the new specialized packages instead
Migration: All functionality has been split into 22 specialized packages organized by category:
- Content & Marketing: 9 packages for text processing, translation, summarization, etc.
- E-commerce: 4 packages for product categorization, reviews, emails
- HR Tech: 3 packages for job descriptions, skills, positions
- Travel & Hospitality: 3 packages for reviews and categorization
- SEO: 1 package for META tags generation
- Utilities: 2 packages for airports and job positions databases
See README.md for complete list and migration guide.
Source code unchanged: This deprecation does not modify any existing functionality. All methods continue to work exactly as before for backward compatibility.
- Generate Keywords/Tags & Summarize methods aquired optional
contextthat allows to pass additional processing instructions for the providedcontent - API usege optimized internally, switched to AI job dispatch/result endpoint pairing mode
Generates a paraphrased version of the provided text.
Proofreads (and checks grammar) of the provided text.
Endpoint to check details regarding the subscription's current period.
{
"timestamp": "2024-03-19T12:49:41.445736Z",
"on_trial": false,
"trial_ends": "2024-03-17T07:57:46.000000Z",
"subscribed": true,
"current_subscription_start": "2024-03-18T12:37:39.000000Z",
"current_subscription_end": "2024-04-18T12:37:39.000000Z",
"subscription_words_quota": 100000,
"subscription_words_used": 9608,
"subscription_words_used_percentage": 0.1
}- "subscription_words_used_percentage" is a percentage of current monthly quota usage
- and might serve as an alert to the user of the depleted credits.
- With a value above 80%, it's advised to subscribe to more credits
- at https://sharpapi.com/dashboard/credits to avoid service disruption.
Simple PING endpoint to check the availability of the API and it's internal timze zone (timestamp).
{
"ping": "pong",
"timestamp": "2024-03-12T08:50:11.188308Z"
}Added to methods:
- E-commerce > Product Categories /
productCategories() - Travel, Tourism & Hospitality > Tours & Activities Product Categories /
toursAndActivitiesProductCategories() - Travel, Tourism & Hospitality > Hospitality Product Categories /
hospitalityProductCategories() - HR Tech > Related Job Positions /
relatedJobPositions() - HR Tech > Related Skills /
relatedSkills()
Please keep in mind that max_length serves as a strong suggestion for the Language Model, rather than a strict requirement, to maintain the general sense of the outcome.
Added to methods:
- E-commerce > Generate Product Intro /
generateProductIntro() - E-commerce > Generate Thank You E-mail /
generateThankYouEmail() - Content & Marketing Automation > Summarize Content /
summarizeText() - Content & Marketing Automation > Paraphrase Text /
paraphrase()
You can set your preferred writing style by providing
an optional voice_tone parameter. It can be adjectives like
funny or joyous, or even the name of a famous writer.
You can provide multiple tones at the same time.
Added to methods:
- SEO > Generate SEO Tags /
generateSeoTags() - Content & Marketing Automation > Generate Keywords/Tags /
generateKeywords() - Content & Marketing Automation > Summarize Content /
summarizeText() - Content & Marketing Automation > Paraphrase Text /
paraphrase() - Content & Marketing Automation > Translate Text /
translate() - Travel, Tourism & Hospitality > Tours & Activities Product Categories /
toursAndActivitiesProductCategories() - Travel, Tourism & Hospitality > Hospitality Product Categories /
hospitalityProductCategories() - HR Tech > Generate Job Description /
generateJobDescription() - E-commerce > Product Categories /
productCategories() - E-commerce > Generate Product Intro /
generateProductIntro() - E-commerce > Generate Thank You E-mail /
generateThankYouEmail()
Added to methods:
- HR Tech > Generate Job Description /
generateJobDescription() - E-commerce > Generate Thank You E-mail /
generateThankYouEmail() - E-commerce > Product Categories /
productCategories() - Travel, Tourism & Hospitality > Tours & Activities Product Categories /
toursAndActivitiesProductCategories() - Travel, Tourism & Hospitality > Hospitality Product Categories /
hospitalityProductCategories() - Content & Marketing Automation > Translate Text /
translate() - Content & Marketing Automation > Paraphrase Text /
paraphrase()
Now you can set this inside .env file of your app:
SHARP_API_USER_AGENT="SharpAPIPHPAgent/1.1.0"More info at https://sharpapi.com/affiliate_program
- v1.0.2 initial release