VERSION
VERSION = 'v1.16.0' :
__construct(int $accountId, string $licenseKey, array $options = []) : mixed
int | $accountId | Your MaxMind account ID |
string | $licenseKey | Your MaxMind license key |
array | $options | An array of options. Possible keys:
|
report(array $values) : void
array | $values | the transaction parameters |
when the request has missing or invalid data
when there is an issue authenticating the request
when the request is invalid for some other reason, e.g., invalid JSON in the POST.
when an unexpected HTTP error occurs
when some other error occurs. This also serves as the base class for the above exceptions.