Looking for a Homebridge TV HTTP template

I have a settop box that has a series of HTTP endpoints, where each endpoint acts as a button press (eg: /api/key_ch_up, /api/key_ch_down, etc). I’d like to create a “television” in Homebridge that allows me to map endpoints to the TV remote function, as well as specify some other commands as “inputs”. Is there a template I could easily adopt?