CS:GO custom APIs

Hey folks,

we’ve developed some useful APIs for Nightbot which allow you to display your CS:GO stats directly in your chat!

Sample and always up to date docs: https://csgo-stats.net/tools/nightbot

Stats for a specific user

$(urlfetch https://csgo-stats.net/api/nightbot/stats/$(channel)/YOURCUSTOMURL)

Your watchers stats
!mystats [CUSTOMURL]

$(urlfetch https://csgo-stats.net/api/nightbot/stats/$(channel)/$(1))

Show your current inventory

$(urlfetch https://csgo-stats.net/api/nightbot/inventory/$(channel)/YOURCUSTOMURL)

Your always up-to-date rank

$(urlfetch https://csgo-stats.net/api/nightbot/rank/$(channel)/YOURCUSTOMURL)

VAC status
!vac [steamname]

$(urlfetch https://vac-check.com/api/$(channel)/$(1))

Your own links and more information is available at https://csgo-stats.net/tools/nightbot

What do you think? Suggestions are highly appreciated!


Is there a way to make it only show Awp Shots missed?

1 Like

Sure, but we would have to develop this feature.

1 Like

Hay there,

Having some problems with this command:

Your watchers stats
!mystats [steamname]

$(customapi http://csgo-stats.net/nightbot.php?user=$(1)&username=$(user))

My own stats are showing when only typing “!mystats”, can you please give an example how to use this command? :slight_smile:

I managed to fix it, I forgot to include “[steamname]” as a part of the command. Thnx anyway for making the command :slight_smile:

I agree with this. It would let everyone know just how lucky you’ve gotten instead of how skillful you appear to be.

None of the commands are working for me they keep saying that no one has an account by that name

Can anyone help?

You have a Typo in the command when you copy and paste it. Remove the 4 at the end of the comand like so :

It still isn’t working do you think you could come into the chat and help? I am in my channel’s chat

possible also to make a VAC check? !vac STEAMNAME

$(customapi https://vac-check.com/nightbot.php?user=$(1)&username=$(user)) ??

this is posible
the site owner must make a script for that

Hey senxai,

I think you wrote the email? We built the API for checking the VAC status for a specific user, if anyone else want to use, here’s the Nightbot command snippet:

VAC status
!vac [steamname]
$(urlfetch https://vac-check.com/api/$(channel)/$(1))

If anyone has another cool idea feel free to tell us, we’re always open for new things! You can talk to us directly on Discord: http://discord.me/csgostatsnet

1 Like

thank you so much! this did the trick!

do you have any api for http://twitchlinkchecker.com ?

thank you

Not for that website but for the Twitch API that is beneath that. What’s the exact purpose?

just to check if they are twitch linked. maybe there’s a way to make it work?

We can only check Twitch --> Steam, not the other way around.
So if someone e.g. enters !vac without a username as a parameter in the chat we could get his Twitch username, look up if he has his account connected to steam and query his vac status. Does this make sense?

Yea but twitchchecker requries a twitch username and checks if he’s connected. Please can you help me make a command check so it checks the username like … !check (username)

LOVE IT! Best api for my channel!

I connected your Bot to my friendlist to update my rank and my competetive rank. So i want to know if there is a possibility to show these ranks now via !rank command or something.

Thank you <3