Trouble with API

I may have made this more confusing than I wanted. I have a progress bar made on an overlay in Streamlabs OBS. I want to be able to take my current viewers, followers, donation values, and subscribers; and put them into a function. From there it’s easy enough for me to play around until it works.