Hello, I tried to write a command for Nightbot.
Which will show in the twitch chat what the weather is today in the city indicated with a space.
!weather town.
https://www.gismeteo.ru/api/#%D0%9F%D0%BE%20%D0%B3%D0%B5%D0%BE%D0%B3%D1%80%D0…
Here is the documentation.
Many thanks for any help in advance!
How to add json custom api command to Nightbot? Weather
3 replies
Hey @Urban Shrimp!
This API won't work with Nightbot because you need to send an authorization token in the header of your requests, and Nightbot doesn't offer this option.
Why not use the $(weather) variable?
And if you need/want to translate it:
/t/weather-to-another-language/1534638544805433344#m1534638546462310490
/t/help-with-weather-translation/1534643036141912187#m1534643039446896824