def get_system_information(mac):
    url = BH_URL + '/api/v1/system'
    payload = {'mac': mac}
    try:
        response = requests.get(url,
                                params=payload,
                                headers=json_auth_headers())
        response.raise_for_status()
        system_json = json.dumps(response.json())
        return System.from_JSON(system_json)
    except ConnectionError as error:
        print("Looks like there's a connection error. Please try again later")
    except __HOLE__ as error:
        return None
dataset/ETHPy150Open rcaloras/bashhub-client/bashhub/rest_client.py/get_system_information