I would like to create my own points leaderboard. It’s supposed to take certain viewers input (Sub, Dono, Channel Points Reward, and others) and transform it into a value. This number creates a new entry in a leaderbaord or, in case the viewer already has an entry, adds this new number to the already existing entry. For example:
A viewer subed with a Tier 1 sub for 1 month = Viewer gets 500 points and is now on position X on the board.
The problem is: I am completely new to programing. So the last days I searched for a way to get the needed knowledge, but it’s hard to find something, when you don’t know the right words. So far it seems like, I need to make something called API and this website here has the section “Twitch Developer Documentation”, but all this new information is quite overwhelming. Also I have heard, that the Twitch API can’t work with donations, so it would be better to work with something like StreamLabs API or StreamElements API. But I don’t know, if this is true or false.
All in all: How can I realize my project? Where do I start? What do I need to know? Am I on the right way?
The basics on how to fetch and process data from an API.
This sounds like you are jumping in the deep end and have no prior knowledge of any programming language.
What you describe is fairly complex and this suggests you have no knowledge on how to fetch and process data.
Twitch isn’t a “tipping” or “donations” platform. (Tips go to streamers, donations go to charity).
So the correct api for “tips” will depend on whose system you are using.
Everthing else is just a matter of choosing one of the API notification methods, pubsub, eventsub, webhooks, chat, all provide real time data for channel point rewards(*), subs, bits usage etc.
(*) not all custom rewards notify chat.
First you need to decide what programming language to do, and learn the basics of that language, then you can move on to something more complicated such as API interaction.
Yes, I have no knowledge about fetching and processing data. First time I hear fetching as a word for programing.
Yeah, Tips is what I meant. I said Donation, because that’s what streamers I watch usually say.
Ok, so I should indeed not use the Twitch API, if I want to inclued “tips”.
I am currently watching a video with something simular to what I want to do. The streamer Michael Reeves created a program, which transformes a sub into a drill being activated for some secs. In the video he is using StreamLabs API and JavaScript. I heard of StreamLabs before from their leaderboard extension and JavaSript is also something I have heard before. So I would go with these.
Fetching from an API - the act of loading data from another place. Any word for obtaining data works. (There is also a basic web JS function called fetch that will literally do just that)
So I have finished the complete “Learn JavaScript” course and would like to start to code. In the video I mentioned in an older post, I saw that the software “Visual Studio Code” was being used. Should I use this or is there software that is better based on my low knowledge/based on what I want to do?