yrizos/greek-name-days

Client for the GreekNameDays API.

Installs: 22

Dependents: 0

Stars: 2

Watchers: 1

Language: PHP

0.1.1 2014-07-05 01:35 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");