class CapsuleToyProtocol {

    public CapsuleToyInfo getCapsuleToyInfo() throws BiliLiveException {
        CapsuleToyInfo info = session.getHttpHelper().getBiliLiveJSON(
                CAPSULE_INFO_GET, CapsuleToyInfo.class, EXCEPTION_KEY);
        if (info.code == STATUS_NOT_LOGGED_IN) throw new NotLoggedInException();
        return info;
    }

    public  CapsuleToyProtocol(@NotNull Session session);

}