Use a simple API to retrieve declensions of Polish nouns and adjectives. Just one HTTP request needed!
Aztekium.pl provides API in three popular formats: json, text, and xml.
To use the proper format, use the format parameter in your request:
https://aztekium.pl/find.py?lang=pl&q=kraj&api=YOUR_API_KEY&format=json
{
"lang": "pl",
"cases": {
"mianownik": "kraj",
"dopelniacz": "kraju",
"celownik": "krajowi",
"biernik": "kraj",
"narzednik": "krajem",
"miejscownik": "kraju",
"wolacz": "kraju"
}
}
https://aztekium.pl/find.py?lang=pl&q=kraj&api=YOUR_API_KEY&format=text
kraj,kraju,krajowi,kraj,krajem,kraju,kraju
https://aztekium.pl/find.py?lang=pl&q=kraj&api=YOUR_API_KEY&format=xml
Enter any word and check its declension by cases: