src/Gravatar.php
public static function profile($email)
    {
        $url = sprintf('%s/%s.json', self::$gravatarURL, md5($email));
        
        $client = new Client();
        
        return json_decode($client->get($url)->getBody()->getContents());
    }
public static function profile($email)
    {
        $url = sprintf('%s/%s.json', self::$gravatarURL, md5($email));
        
        $client = new Client();
        
        return json_decode($client->get($url)->getBody()->getContents());
    }
public static function profile ( $ email ) { $ url = sprintf ( '%s/%s.json' , self :: $ gravatarURL , md5 ( $ email ) ) ; $ client = new Client ( ) ; return json_decode ( $ client -> get ( $ url ) -> getBody ( ) -> getContents ( ) ) ; }
Get user profile

@param  string $email
@return stdClass
Get user profile