There is no license information available for the latest version (v1.1.0) of this package.

v1.1.0 2014-05-20 12:54 UTC


#Introduction It's object-oriented PHP wrapper for official eRepublik API. #Installation Composer is recommended for instalation.

    "require": {
        "erpk/api": "*"


use Erpk\Api\Client;

$client = new Client;

$result = $client->call('citizen', 'profile', array('citizenId' => 2292063));
echo $result['general']['name'];

Code above will output name of citizen 2292063. #List of resources You can find it here.