Tarkov online flea market ár megfigyelés
Bejelentkezés

StreamElements bot integration

First of all, you need api key.

Api key - for patrons only and can be generated on api page


You can add command to your streamelements to get price check in you twitch / youtube channel chat

1.png

Instructions

Activate bot

https://streamelements.com/dashboard

2.png

Go to custom commands

https://streamelements.com/dashboard/bot-commands/custom-commands

3.png

Press "Add new command"

set "Command name"

-p

set "Response"

${urlfetch https://tarkov-market.com/api/v1/nightbot?x-api-key=your_api_key&q=${queryencode ${1:}}}

press "Advanced Settings"


Where

your_api_key
- your api key (can be found here, on api page)

4.png

VERY IMPORTANT!!!

Check this "Hide command from public pages" checkbox to prevent stealing your api key


if you don't check this, your command and your api key will be visible to EVERYONE here:

https://streamelements.com/ggdiam/commands

5.png

After - press "Activate command"

6.png

P.S.

for russian lang, message should include

&lang=ru

${urlfetch https://tarkov-market.com/api/v1/nightbot?x-api-key=your_api_key&q=${queryencode ${1:}}&lang=ru}

and command prefix like