Cheer sending extension with action

My intention is to create an extension similar to SoundAlerts but with StreamerBot. Basically they would be editable buttons in which the content creator would write a cheers price and the action it takes. For example: 150 cheers - Scream to scare.

It would not need communication with streamerBot since that would be configured in the client. Just so the user/viewer knew that with 150 cheers they can send a scare to the streamer, even doing it from the panel/component. (StreamerBot would only have it configured that when they give 150 cheers, it executes the action either a sound or a video).

I do not know if I explained well.

I have knowledge of HTML, CSS and Javascript, but I don’t know where to start. I have the extension created but I don’t know how to start using the Twitch API to develop this extension and have it do the described function (Summary: from the panel / Component send cheers knowing that “X” amount represents an action)

Thanks for the help!!