0.0.1 • Published 6 years ago
stibarc v0.0.1
stibarc.js
A stibarc API for node.js
EXAMPLE:
var stibarc = require('./stibarc-api');
stibarc.login('Anon', 'anon') //logs in as Anon"
var sess = stibarc.sess //gets the session id
console.log("session id: " + sess)
stibarc.post(sess, "Posted Using the Node js API", "So cool!")
stibarc.end()
Documentation
stibarc.login('Username', 'Password')
Logs into stibarc; username = your username, password = your password
stibarc.end()
Logs out and releases your session id
stibarc.post(Session ID, "Title", "Content")
Creates a new post
stibarc.editPost(Session ID, Post ID, Title, Content)
Edits a post
And thats it (for now), i am working hard to get all the functionality of stibarc in the api!
0.0.1
6 years ago