Nigthbot 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 nigthbot to get price check in you twitch / youtube channel chat

nigthbot-1.png

Instructions

Registrer at https://nightbot.tv using your twitch / youtube account

 

Go to dashboard https://nightbot.tv/dashboard - click "Join Channel" btn

nigthbot-2.png

Make bot - moderator, just type

/mod nightbot
in your twitch chat


Go to custom commands https://nightbot.tv/commands/custom

Press "Add command" btn

nigthbot-3.png

Set command:

!p
or anything you like

Set message:

$(urlfetch https://tarkov-market.com/api/v1/nightbot?x-api-key=your_api_key&q=$(querystring))

Where

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


Cooldown leave 5 seconds (your api key got 300 req/min)

Press "Submit"

Enjoy:):)

nigthbot-4.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=$(querystring)&lang=ru)

and command prefix like