I would suggest using @ehsankia’s Quote API
You can generate you tokens through this link https://twitch.center/customapi/quote/generate
The 8 digit token is your Public one and is fine to share.
The 16 digit token is your Private token and should not be shared.
(They both come after “token=“ And end before “&data”)
Here are the commands:
!addcom !pushup $(channel) has done $(eval a="$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN)".replace(/([0-9]+\.[ ])/g,"").split(",");b=0;for(i=0;i<Math.floor(a.length-1);i++){c=Math.floor(b+parseInt(a[i]));b=c};b) pushups.
!addcom !pushupadd -ul=moderator $(eval a="$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(1),)";"$(1) pushups added.")
!addcom !pushupreset -ul=moderator $(eval a="$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=&clear=1)";"!Pushup command has been reset to 0.")
Only change the PUBLIC_TOKEN and PRIVATE_TOKEN in the commands for adding you just type any number to add to the total a few !pushupadd.
If there are any issues please let me know.