FaceIT API Update

Hey!

I recently noticed that the FaceIT API updated a few Days ago and that the old API from Satont is not working anymore with Twitch.

We found a workarround, if any of you need this.
This works the following:

$(eval const api = $(urlfetch json https://api.faceit.com/core/v1/nicknames/YOURNICKNAME); if (api.error) {'Error';} else { 'Lvl: ' + api['payload']['games']['csgo']['skill_level_label'] + ' Elo: ' + api['payload']['games']['csgo']['faceit_elo'] })

For fetching a specific Username via Command, replace “YOURNICKNAME” with the Nickname of your Likings and

$(eval const api = $(urlfetch json https://api.faceit.com/core/v1/nicknames/$(querystring)); if (api.error) {'Error';} else { 'Lvl: ' + api['payload']['games']['csgo']['skill_level_label'] + ' Elo: ' + api['payload']['games']['csgo']['faceit_elo'] })

For a Command like !checkelo YOURNICKNAME

If this helps anyone, Much Appreciated!

Best Regards

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