| Blockland Forums > General Discussion |
| RTB Stats |
| << < (7/9) > >> |
| Destiny/Zack0Wack0:
--- Quote from: Ephialtes on February 10, 2011, 05:13:10 AM ---Probably not. I can't imagine other sites would need to be able to pull these kinds of statistics. I can't think of a usage scenario for it. --- End quote --- On this topic, how is the API coming along? I would like to make a service using the ID list. |
| The Titanium:
--- Quote from: Nethog on February 09, 2011, 08:37:58 PM ---Reminds me of BC --- End quote --- Don't even joke about that. |
| Bauklotz:
--- Code: (PHP) ---$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_connect($socket, getHostByName("api.returntoblockland.com"), 80); $req = "c=GETALLFILES&n=Flaw&b=2107"; socket_write($socket, "POST /apiRouter.php?d=APIMS HTTP/1.1\r\nHost: api.returntoblockland.com\r\nUser-Agent: Torque/1.0\r\nContent-Length: " . strlen($req) . "\r\n\r\n" . $req . "\r\n\r\n"); $data = socket_read($socket, 1024); $head = false; $datae = explode("\n", $data); foreach($datae as $datal) { if(strlen($datal) < 1 && !$head) $head = true; else if($head) echo($datal . "<br/>); } --- End code --- Can't really get this working. Recieving some weird "RTB ERROR 8 Not specified." thing. |
| Ephialtes:
You're not meant to be connecting to the API from outside Blockland. |
| Ephialtes:
Added some stats on Blockland's growth too: http://returntoblockland.com/stats.php?p=blGrowth Figures will probably be a bit off, but it gives a reasonably good impression of growth at any rate. |
| Navigation |
| Message Index |
| Next page |
| Previous page |