yrizos/greek-name-days

This package is abandoned and no longer maintained. No replacement package was suggested.

Client for the GreekNameDays API.

0.1.1 2014-07-05 01:35 UTC

This package is auto-updated.

Last update: 2022-12-23 20:15:20 UTC


README

Client for the GreekNameDays API. The API requires a subscription, for more information see:

Install

Composer:

require: "yrizos/greek-name-days": "dev-master"

Usage

use GreekNameDays\GreekNameDays;

$username = "<your username>";
$password = "<your password>";
$language = "gr";

$gnd = new GreekNameDays($username, $password, $language);

$resultsByDate    = $gnd->getByDate(2014, 7, 1);
$resultsByMonth   = $gnd->getByMonth(2014, 7);
$resultsByInitial = $gnd->getByInitial("i");
$resultsByName    = $gnd->getByName("ioannis");