Free commercial use. There is no limit on usage or pricing, but please be respectful and don't abuse the API.
Slobodno korišćenje API-a za komercijalne svrhe. Nema ograničenja niti cene, ali vas molim da budete pošteni i da ne zloupotrebljavate API.
GET https://deklinacija.com/api/:name (case-insensitive)
NPM Package:
npm install deklinacija
import dekl from 'deklinacija'
dekl("Ognjen").vocative
dekl("Ognjen").vocativeCyr
dekl("Ognjen").sex
Try the API:
/api/
GET /api/:name returns JSON:
{
"name": string,
"sex": "male" | "female" | "both" | null,
"vocative": string | null,
"vocative_cyr": string | null,
"status": "Success" | "Not found"
}
Examples:
{
"name": "Ognjen",
"sex": "male",
"vocative": "Ognjene",
"vocative_cyr": "Огњене",
"status": "Success"
}
{
"name": "Noname",
"sex": null,
"vocative": null,
"vocative_cyr": null,
"status": "Not found"
}
Blue: total, Green: success, Red: not found. Auto-refreshes every 10s.
Created by Ognjen Jovanović. GitHub: github.com/ogi-joo