The Different Languages Offered:

import requests

url = "https://dnaber-languagetool.p.rapidapi.com/v2/languages"

headers = {
	"X-RapidAPI-Key": "7b146afe20msh92e84c02ae27c6ap1185b5jsnb7a574f24cbe",
	"X-RapidAPI-Host": "dnaber-languagetool.p.rapidapi.com"
}

response = requests.request("GET", url, headers=headers)

# print(response.text)


print("Languages Supported")
languagelist = response.json() 


for language in languagelist:
	print(language["name"], " = ", language["code"]) #this code is used in the next step to check the grammer in a specified language
Languages Supported
Arabic  =  ar
Asturian  =  ast
Belarusian  =  be
Breton  =  br
Catalan  =  ca
Catalan (Valencian)  =  ca
Chinese  =  zh
Danish  =  da
Dutch  =  nl
Dutch  =  nl
Dutch (Belgium)  =  nl
English  =  en
English  =  en
English (Australian)  =  en
English (Australian)  =  en
English (Canadian)  =  en
English (Canadian)  =  en
English (GB)  =  en
English (GB)  =  en
English (New Zealand)  =  en
English (New Zealand)  =  en
English (South African)  =  en
English (South African)  =  en
English (US)  =  en
English (US)  =  en
Esperanto  =  eo
French  =  fr
French  =  fr
Galician  =  gl
German  =  de
German  =  de
German (Austria)  =  de
German (Austria)  =  de
German (Germany)  =  de
German (Germany)  =  de
German (Swiss)  =  de
German (Swiss)  =  de
Greek  =  el
Irish  =  ga
Italian  =  it
Japanese  =  ja
Khmer  =  km
Norwegian (Bokmål)  =  nb
Norwegian (Bokmål)  =  no
Persian  =  fa
Polish  =  pl
Portuguese  =  pt
Portuguese (Angola preAO)  =  pt
Portuguese (Angola preAO)  =  pt
Portuguese (Brazil)  =  pt
Portuguese (Brazil)  =  pt
Portuguese (Moçambique preAO)  =  pt
Portuguese (Moçambique preAO)  =  pt
Portuguese (Portugal)  =  pt
Portuguese (Portugal)  =  pt
Romanian  =  ro
Russian  =  ru
Simple German  =  de-DE-x-simple-language
Slovak  =  sk
Slovenian  =  sl
Spanish  =  es
Spanish  =  es
Spanish (voseo)  =  es
Swedish  =  sv
Tagalog  =  tl
Tamil  =  ta
Ukrainian  =  uk

Below is the proccess of getting text checked gramatically. The result displayed is the error and possible reccomendations to change

import requests
import json

url = "https://dnaber-languagetool.p.rapidapi.com/v2/check"

payload = "language=en-US&text=" #because of use of code'eu' this is checking in English
headers = {
	"content-type": "application/x-www-form-urlencoded",
	"X-RapidAPI-Key": "7b146afe20msh92e84c02ae27c6ap1185b5jsnb7a574f24cbe",
	"X-RapidAPI-Host": "dnaber-languagetool.p.rapidapi.com"
}

text = input("Please enter the text you would like checked")

payload += text #this appends the string defined above to add the text needing to be checked

response = requests.request("POST", url, data=payload, headers=headers)

# print(response.text)


#print(json.dumps(response.json(), indent=4))

print(json.dumps(response.json()["matches"], indent=4)) #the json.dumps formats the data to be prettier :)
[
    {
        "message": "This sentence does not start with an uppercase letter.",
        "shortMessage": "",
        "replacements": [
            {
                "value": "Hello"
            }
        ],
        "offset": 0,
        "length": 5,
        "context": {
            "text": "hello my nme is",
            "offset": 0,
            "length": 5
        },
        "sentence": "hello my nme is",
        "type": {
            "typeName": "Other"
        },
        "rule": {
            "id": "UPPERCASE_SENTENCE_START",
            "description": "Checks that a sentence starts with an uppercase letter",
            "issueType": "typographical",
            "urls": [
                {
                    "value": "https://languagetool.org/insights/post/spelling-capital-letters/"
                }
            ],
            "category": {
                "id": "CASING",
                "name": "Capitalization"
            },
            "isPremium": false
        },
        "ignoreForIncompleteSentence": true,
        "contextForSureMatch": -1
    },
    {
        "message": "Possible spelling mistake found.",
        "shortMessage": "Spelling mistake",
        "replacements": [
            {
                "value": "me"
            },
            {
                "value": "name"
            },
            {
                "value": "NMR"
            },
            {
                "value": "CME"
            },
            {
                "value": "nee"
            },
            {
                "value": "DME"
            },
            {
                "value": "Mme"
            },
            {
                "value": "Nome"
            },
            {
                "value": "SME"
            },
            {
                "value": "BME"
            },
            {
                "value": "Noe"
            },
            {
                "value": "nae"
            },
            {
                "value": "n\u00e9e"
            },
            {
                "value": "AME"
            },
            {
                "value": "EME"
            },
            {
                "value": "IME"
            },
            {
                "value": "JME"
            },
            {
                "value": "LME"
            },
            {
                "value": "ME"
            },
            {
                "value": "Me"
            },
            {
                "value": "NCE"
            },
            {
                "value": "NE"
            },
            {
                "value": "NEE"
            },
            {
                "value": "NGE"
            },
            {
                "value": "NM"
            },
            {
                "value": "NMA"
            },
            {
                "value": "NMF"
            },
            {
                "value": "NMI"
            },
            {
                "value": "NMM"
            },
            {
                "value": "NMT"
            },
            {
                "value": "NOE"
            },
            {
                "value": "Ne"
            },
            {
                "value": "PME"
            },
            {
                "value": "RME"
            },
            {
                "value": "TME"
            },
            {
                "value": "VME"
            },
            {
                "value": "n me"
            },
            {
                "value": "NMC"
            },
            {
                "value": "NVMe"
            },
            {
                "value": "Nye"
            },
            {
                "value": "nm"
            },
            {
                "value": "n\u00e9"
            }
        ],
        "offset": 9,
        "length": 3,
        "context": {
            "text": "hello my nme is",
            "offset": 9,
            "length": 3
        },
        "sentence": "hello my nme is",
        "type": {
            "typeName": "Other"
        },
        "rule": {
            "id": "MORFOLOGIK_RULE_EN_US",
            "description": "Possible spelling mistake",
            "issueType": "misspelling",
            "category": {
                "id": "TYPOS",
                "name": "Possible Typo"
            },
            "isPremium": false
        },
        "ignoreForIncompleteSentence": false,
        "contextForSureMatch": 0
    }
]