- It grabs the API information of the streamer.
- It decodes the JSON.
- Will check if viewer count is set, if not, it will set it to 0.
- Updates the database with the viewer count.
There is a bit more code, I just removed a lot of it (same thing, dif values). As you can see though, I don’t ever edit the value.