Skip to content

Custom APIs for Nightbot

Pascal Pohl edited this page Jul 22, 2019 · 1 revision

Most custom APIs, that were made for Nightbot's $(urlfetch) will work without a problem.

Here is an example for the quote API by ehsankia:

Generate your tokens here: https://twitch.center/customapi/quote/generate!

Trigger: !quote

{% print 🔗https://twitch.center/customapi/quote?token=**your_token_here**&data={{§%1,§}} %}

Trigger: !addquote

{% print 🔗https://twitch.center/customapi/addquote?token=**your_edit_token_here**&data={{§%1,§}} %}

Trigger: !editquote

{% print 🔗http://twitch.center/customapi/editquote?token=**your_edit_token_here**&data={{§%1,§}} %}

Trigger: !delquote

{% print 🔗http://twitch.center/customapi/delquote?token=**your_edit_token_here**&data={{§%1,§}} %}