I have been searching for a while, and while i have an api working for time followed in the format of months/weeks/days, is there an api command to just total up the amount of days followed and display that? I can’t seem to figure it out. Thank you in advance.
Hey! I added a days format to my follow length check:
To add this command use:
!commands add !followsince $(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=days)
Edit: Edited the command a slight bit, shorter version. (June 2 ,16)
Nice thank you so much! it works perfectly!!
Hi there xgerhard, first off thank you very much for the API, it works really well. I was wondering if it would be possible to have the same command but have the API only return the days followed, as in just the number? If that would be possible that would be great as I am trying to link two API commands together into the same command. So a clean command to return the date followed as well as the total days followed
Yes, let me know if this work:
!commands add !followsince $(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=daysint)
Thank you so much for that, I can work with that, I really appreciate it, have a wonderful day and know your a good person.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.