Greasy Fork is available in English.

TagCoinsAPI

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

Fra 19.12.2017. Se den seneste versjonen.

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @require https://update.greasyfork.org/scripts/36511/238272/TagCoinsAPI.js

Forfatter
wilcooo
Versjon
0.1
Lagd
19.12.2017
Oppdatert
19.12.2017
Lisens
I/T

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