API response example:
{
"status": 200,
"alerts": [
{
"length": 6,
"offset": 60,
"message": "Possible grammar mistake found.",
"category": "Noun Number",
"replacements": [
"uploads"
]
},
{
"length": 3,
"offset": 92,
"message": "Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).",
"category": "Punctuation",
"replacements": [
", so"
]
},
{
"length": 4,
"offset": 121,
"message": "Possible grammar mistake found.",
"category": "Noun Number",
"replacements": [
"cases"
]
}
],
"stats": {
"wordsCount": 26,
"charsCount": 115,
"sentencesCount": 1,
"avgWordLength": 4.346153846153846,
"avgSentenceLength": 26,
"fleschIndex": 47.037307692307735,
"readingTimeSeconds": 8,
"speakingTimeSeconds": 12,
"textScore": 5
}
}