src/IPinfo.php
public function getDetails($ip_address = null)
    {
        $response_details = $this->getRequestDetails((string) $ip_address);

        return $this->formatDetailsObject($response_details);
    }
public function getDetails($ip_address = null)
    {
        $response_details = $this->getRequestDetails((string) $ip_address);

        return $this->formatDetailsObject($response_details);
    }
Get formatted details for an IP address.
@param  string|null $ip_address IP address to look up.
@return Details Formatted IPinfo data.
@throws IPinfoException