Name day API library for api.abalin.net
This library makes it easy to send requests towards api.abalin.net API. API provides name days for various countries.
npm install nameday-api
// OR
yarn add nameday-api
When using country codes in the library you can use country codes.
- Country codes
- bg
- lt
- ee
- lv
- gr
- ru
- at
- dk
- fr
- it
- sk
- cz
- es
- hr
- pl
- us
- de
- fi
- hu
- se
const nameday = require("nameday-api");
// OR
import nameday from "nameday-api";
nameday.today();
nameday.tomorrow();
nameday.yesterday();
nameday.today("sk");
nameday.tomorrow("at");
nameday.yesterday("de");
nameday.specificDay(29, 3, "es");
nameday.specificDay(2, 12, "de");
nameday.specificDay(22, 12, "pl");
nameday.specificDay(2, 12, "hr");
nameday.searchByName("Jana", "cz");