Pheal\Pheal::__construct PHP Method

__construct() public method

creates new Pheal API object
public __construct ( integer $userid = null, string $key = null, string $scope = 'account' )
$userid integer the EVE userid/keyID
$key string the EVE apikey/vCode
$scope string to use, defaults to account. can be changed during runtime by modifying attribute "scope"
    public function __construct($userid = null, $key = null, $scope = 'account')
    {
        $this->userid = $userid;
        $this->key = $key;
        $this->scope = $scope;
    }