Greasy Fork

TagCoinsAPI

Enables you to send TGC, receive feedback, and get update events

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.icu/scripts/36511/672861/TagCoinsAPI.js

作者
wilcooo
版本
0.1
创建于
2017-12-19
更新于
2017-12-19
大小
10.6 KB
许可证
暂无

To use this API, add the following three lines to the Metadata of your userscript:

// @grant     GM_xmlhttpRequest
// @connect   tagpro.lol
// @connect   koalabeast.com

Don't forget to also @require this library using the link above!

Example usage:

TagCoinsAPI.sendCoins( "Ko", 100, "donation to Ko, sent with the TagCoinsAPI" );

There are/will be more commands, for example for signing up, listening for updates or checking someones balance

Please see the code itself for more help

I'm not actively managing this script anymore. It might or might not work.