MetaWeblog API for node.js
The MetaWeblog API is a programming interface that enables weblog entries to be written, edited, and deleted using XML-PRC web services. Please refer to Wiki for more information.
MetaWeblog API for node.js is a node module which implements the API, and provides you full features of the API with well documented functions.
Installation
npm install metaweblog-api
API Documentation
http://uhavemyword.github.io/metaweblog-api/MetaWeblog.html
Usage
var MetaWeblog = ;var apiUrl = 'http://localhost:3000/'; // use your blog API insteadvar metaWeblog = apiUrl; // getUsersBlogsmetaWeblog ; ;
Please check tests\test.js for more examples.
Features
All method calls will return a Promise
object which enables you to handle response async.
Tests
To run the test suite, first install the dependencies, then run npm test
:
npm installnpm test
License
Enjoy!