NightDev Community Forums

!followage in others lenguages?

#1

Given that this topic and the post mentioned are old, I pose this question to see if anyone knows a way to use this tool or another that has an answer in Spanish

Thanks!!

#2

@vikingo1993

The API doesn’t provide language translations for its outputs, but you can add the notext parameter to make the API result show the follow date without any words. For example:

 $(urlfetch https://api.2g.be/twitch/followage/$(querystring $(channel))/$(querystring $(touser))?notext=1)
#3

Okay. Thank you.

Is there any way to customize the text that shows?

#4

You can add a format parameter to customize how the follow age time is represented. These are the possible options taken from the forum post.

$(urlfetch https://api.2g.be/twitch/followage/$(querystring $(channel))/$(querystring $(touser))?notext=1&format=CUSTOM_FORMAT_HERE)

Current formats:

  • &format= (X is following Y since: 15-09-2014 14:40:36 ) (default)
  • &format=days (X has been following Y for 731 days)
  • &format=daysint (731)
  • &format=months (X has been following Y for 24 months)
  • &format=monthsint (24)
  • &format=ymwdhis(X has been following Y for 1 year, 10 months, 3 weeks, 3 days, 21 hours, 25 minutes, 14 seconds)
  • &format=ymwd(X has been following Y for 1 year, 10 months, 3 weeks, 3 days)
  • &format=mdygia (X has been following Y since 01-31-2005, 5:55 PM)
  • &format=datewd (X has been following Y since 2014-09-15 (105 Weeks, 1 Day))
  • &format=monthday (X has been following Y for 32 months, 30 days)
closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.