src/Api/Ip.php
public function show(string $ip)
    {
        Assert::ip($ip);

        $response = $this->httpGet(sprintf('/v3/ips/%s', $ip));

        return $this->hydrateResponse($response, ShowResponse::class);
    }
public function show(string $ip)
    {
        Assert::ip($ip);

        $response = $this->httpGet(sprintf('/v3/ips/%s', $ip));

        return $this->hydrateResponse($response, ShowResponse::class);
    }
public function show ( string $ ip ) { Assert :: ip ( $ ip ) ; $ response = $ this -> httpGet ( sprintf ( '/v3/ips/%s' , $ ip ) ) ; return $ this -> hydrateResponse ( $ response , ShowResponse :: class ) ; }
Returns a single ip.


@return ShowResponse|ResponseInterface
Returns a single ip .