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
Instructions
Registrer at https://nightbot.tv using your twitch / youtube account
Go to dashboard https://nightbot.tv/dashboard - click "Join Channel" btn
Make bot - moderator, just type
/mod nightbotin your twitch chat
Go to custom commands https://nightbot.tv/commands/custom
Press "Add command" btn
Set command:
!por anything you like
Set message:
$(urlfetch https://api.tarkov-market.app/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:):)
P.S.
for russian lang, message should include
&lang=ru
$(urlfetch https://api.tarkov-market.app/api/v1/nightbot?x-api-key=your_api_key&q=$(querystring)&lang=ru)
and command prefix like
!ц
For PVE mode you should include parameter
&mode=pve
$(urlfetch https://api.tarkov-market.app/api/v1/nightbot?x-api-key=your_api_key&q=$(querystring)&mode=pve)
For PVE mode and ru
$(urlfetch https://api.tarkov-market.app/api/v1/nightbot?x-api-key=your_api_key&q=$(querystring)&lang=ru&mode=pve)