[CustomAPI] Csgo faceit lvl and elo


Hi Nightbot community.
Today i want provide my little api, what can show your CSGO lvl and elo on faceit.com
You can do this via eval filter.
Why eval? Because you can change how response will look in chat as you want!
So an example:
$(eval const api = $(urlfetch json http://api.satont.ru/faceit?nick=USERNAME); if (api.error) {'Error';} else { 'Lvl: ' + api['lvl'] + ' Elo: ' + api['elo'] + ' Last Match Result: ' + api['lastmatch']})
Don’t forget change USERNAME to your username on faceit!

Contact me here or in discord (Satont#4311) if you will find some bugs/errors.
And sorry for my english.