#IpBoard
A client library for making XML RPC requests to ipboard with Node.js.
##Usage
var ipboard = require('ipboard');
var client = new ipboard({
encoding: 'utf8',
api_key: 'yoursecretkey',
host: 'yourawesomeforum.com',
port: 80,
path:'/community/interface/board/index.php'
});
client.fetchTopics({
forum_ids: '16',
order_field: 'post_date',
order_by: 'desc',
offset: '0',
limit: '10',
view_as_guest: false
}, function(err, results){
});
##Methods Available
For complete IP.Board API info visit: http://www.invisionpower.com/support/guides/_/advanced-and-developers/api-methods/xml-rpc-api-r62
postTopic(options, cb)
Params:
options = {
member_field: String,
member_key : String,
forum_id : String,
topic_title : String,
post_content: String
}
postReply(options, cb)
Params:
options = {
member_field: String,
member_key : String,
topic_id : String,
post_content: String
}
fetchMember(options, cb)
Params:
options = {
search_type : String,
search_string : String
}
checkMemberExists(options, cb)
Params:
options = {
search_type : String,
search_string : String
}
fetchOnlineUsers(cb)
Params: None
fetchForumsOptionList(cb)
Params: None
fetchForums(options, cb)
Params:
options = {
forum_ids: String
}
fetchTopics(options, cb)
Params:
options = {
forum_ids: String,
order_field: String,
order_by: String,
offset: Number,
limit: Number,
view_as_guest: Number
}
fetchStats(cb)
Params: None
helloBoard(cb)
Params: None
customFunction(functionName, options, cb)
Params:
functionName = 'the string of the function name you created'
options = {
}
##License
MIT
#####Made with love by @taterbase