api documentation
onelinerz[?limit=x]&[ansi=x]
Returns the last 20 onelinerz or last x onlinerz based on limit GET value. If ansi=1 then renegade style pipe codes will remain in the response. If ansi=0 all ansi pipe codes will be stripped from response. Please note, if the ansi statement is omitted the api will revert to ansi=1
URL:
http://bbs-scene.org/api/onlinerz or http://bbs-scene.org/api/onelinerz?limitx=x or
http://bbs-scene.org/api/onelinerz?limitx=x&ansi=0
Formats:
xml
HTTP Method(s):
GET
Requires Authentication:
true
XML usage example with cURL:
curl -u user:password http://bbs-scene.org/api/onelinerz
Response (truncated):
XML example:
<?xml version="1.0" encoding="UTF-8"?> <root>
−<node>
<id>76</id> <oneliner>w00t it works</oneliner>
<alias>Netsurge</alias>
<bbsname>Netsurge</bbsname> <timestamp>2010-01-25 11:33:14</timestamp>
</node>
−<node> <id>77</id>
<oneliner>onelinerz rock</oneliner>
<alias>Netsurge</alias>
<bbsname>Netsurge</bbsname> <timestamp>2010-01-25 11:43:19</timestamp>
</node> </root>
onelinerz?random
Returns a random onelinerz entry
URL:
http://bbs-scene.org/api/onlinerz?random
Formats:
xml
HTTP Method(s):
GET
Requires Authentication:
true
XML usage example with cURL:
curl -u user:password http://bbs-scene.org/api/onelinerz?random
Response (truncated):
XML example:
<?xml version="1.0" encoding="UTF-8"?> <root>
−<node>
<id>76</id> <oneliner>w00t it works</oneliner>
<alias>Netsurge</alias>
<bbsname>Netsurge</bbsname> <timestamp>2010-01-25 11:33:14</timestamp>
</node>
</root>
onelinerz?last
Returns the id of the last onelinerz entry
URL:
http://bbs-scene.org/api/onlinerz?last
Formats:
txt
HTTP Method(s):
GET
Requires Authentication:
true
XML usage example with cURL:
curl -u user:password http://bbs-scene.org/api/onelinerz?last
Response:
Text example:
77
News
-
Oct 26 11 - It's been a while, but we are still here and kicking. We are quickly coming up to the 3rd anniversary of bbs-scene.org and we are planning a party. If you can't come up to Toronto and enjoy it with us, drop by the SciNet echo's and you might just be able to join in via Skype or stream; the bbs-scene echo on SciNet is your best bet for news, support and updates.
random bbs
Support
Although all of the services offered on bbs-scene.org are 100% free to use, they do cost us money to operate. If you are interested in helping us out, consider making a donation.



