It uses both REST API and XMLrpc because the API didn't offer everything needed by the integration. I wonder if your library covers everything needed.
Are you using only OPNsense REST API? That would mean we'd still need XMLrpc.
Anyway, it's really interesting, if well maintained. For example, in 24.1 they changed some things and unfortunately we have issues with the integration (see here).