IpBoard
A client library for making XML RPC requests to ipboard with Node.js.
Usage
var ipboard = ; var client = encoding: 'utf8' api_key: 'yoursecretkey' host: 'yourawesomeforum.com' port: 80 path:'/community/interface/board/index.php' //Only need to set if different from standard /interface/board/index.php; client;
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 // comma separated list
fetchTopics(options, cb)
Params:
options = forum_ids: String // comma separated list order_field: String order_by: String // asc|desc offset: Number limit: Number view_as_guest: Number // 0 for false, 1 for true
fetchStats(cb)
Params: None
helloBoard(cb)
Params: None
customFunction(functionName, options, cb)
Params:
functionName = 'the string of the function name you created'options = //Whatever options you should be passing
License
MIT