Go to to create your account. After registration, you will get access to your account's Dashboard where you will find your unique API key.
2. Install the package using pip
pip install phrazor
** Please ensure that you have Python version 3.6 or higher installed.
3. Generate your first set of Insights
Copy the code provided below and replace the API Key with the one that you have generated in Step 1 and Save into a file, then execute the file to generate your initial set of insights.
{
"sections": [
{
"name": "Sales",
"insights": [
{
"title": "Overall Sales Performance",
"sentence": "Since January-2023, Sales was 3.62K.",
"type": "generated"
},
{
"title": "Best Performing Sales Person",
"sentence": "Out of 3 Sales Person(s) Sales for John Doe was highest at 2.25K since January-2023.",
"type": "generated"
},
{
"title": "Under Performing Sales Person",
"sentence": "Out of 3 Sales Person(s) in the last 3 months, Sarah Brown was the bottom Sales Person having Sales of 440.0.",
"type": "generated"
},
{
"title": "Most Contributing Sales Person",
"sentence": "Out of 3 Sales Person(s) John Doe had the highest contribution (62.15%) for Sales in the last 3 months.",
"type": "generated"
},
{
"title": "Least Contributing Sales Person",
"sentence": "Out of 3 Sales Person(s) since January-2023, Sarah Brown was the bottom Sales Person having 12.15% contribution in terms of Sales.",
"type": "generated"
},
{
"title": "Top Ranked Sales Person",
"sentence": "Since January-2023, John Doe ranked 1st in terms of Sales (2.25K).",
"type": "generated"
}
]
}
],
"time_taken": 2.109931707382202
}
For more description on the response keys you can go to .