def METHOD_NAME(cls, code: str, verify_package=False):
    try:
        if verify_package:
            ScorePackageValidator.execute(code)
        icon_score: 'IconScoreBase' = cls._get_icon_score(GETAPI_DUMMY_ADDRESS, code)
        get_api = getattr(icon_score, '_IconScoreBase__get_api')
        ret = get_api()
        status = Status.SUCCESS
    except BaseException as e:
        status, ret = cls._get_status_from_exception(e)
    return status, ret