Higher quality flair for your Stack Exchange accounts.
Want a flair like this?
Or this:
Or even this?
It's easy! Simply use this URL:
https://timtjtim.co.uk/API/1.0/flair/SITENAME/USERID/COLOR
where SITENAME
is the site you want to use (e.g. stackoverflow
, askubuntu
or mathoverflow.net
), USERID
is your user ID on that website, and can be found by visiting your profile, and COLOR
is a colour - either a hex value or an HTML colour name. For transparency, use an invalid colour. You can also append /light/
to the URL to use a light text colour - useful for dark backgrounds.
Flairs are cached for 2 hours, favicons for 7 days.
For the first example:
https://timtjtim.co.uk/API/1.0/flair/askubuntu/50/orange
the second example:
https://timtjtim.co.uk/API/1.0/flair/askubuntu/-1/blue
and the third:
/light
to get a light font (#E5E5E5
). I've also changed the font to Lato, which is better for numbers. It will take an hour after you last generated a flair to update.