Posted 15 April 2015 - 04:15 AM
http://pastebin.com/tUjmVZEc <-api pastebin
or pastebin get tUjmVZEc webdata
this creates a literal file on my webserver, please do not abuse this and keep the channels to a minimum, i have the right to delete anything big or abusive without asking and am not responsible for loss of data! be aware
Past that, this was made for stuff like ftps and chat programs and includes two simple methods:
data_set(string channel, string data) //sets data
data_get(string channel) // gets data
example usage:
other notes:
when posting data avoid using the pattern ":S:", its the replacement for spaces
free for all to use! use it in your os! (don't upload the os -_-/>)
use it in chat programs!
use it in ftp clients! (please clear the file afterward by setting it to nothing)
scince it uses actual internet it works between servers and/or across the REAL world
php syntax, just in case, this should work with other things than just cc:
data_get syntax: http://creeper9207.c...get.php?number=[channel]
or pastebin get tUjmVZEc webdata
this creates a literal file on my webserver, please do not abuse this and keep the channels to a minimum, i have the right to delete anything big or abusive without asking and am not responsible for loss of data! be aware
Past that, this was made for stuff like ftps and chat programs and includes two simple methods:
data_set(string channel, string data) //sets data
data_get(string channel) // gets data
example usage:
os.unloadAPI("webdata")
os.loadAPI("webdata")
webdata.data_set("cc_test", "random data")
print(webdata.data_get("cc_test"))
other notes:
when posting data avoid using the pattern ":S:", its the replacement for spaces
free for all to use! use it in your os! (don't upload the os -_-/>)
use it in chat programs!
use it in ftp clients! (please clear the file afterward by setting it to nothing)
scince it uses actual internet it works between servers and/or across the REAL world
php syntax, just in case, this should work with other things than just cc:
Spoiler
data_set syntax: http://creeper9207.c...set.php?number=[channel]&&data=[data (spaces represented with ":S:")]data_get syntax: http://creeper9207.c...get.php?number=[channel]
Edited on 23 April 2015 - 09:05 PM