0.1.6 • Published 9 years ago

wordpress-rpc v0.1.6

Weekly downloads
30
License
-
Repository
github
Last release
9 years ago

Wordpress-RPC

Module for remote Wordpress control over the XML-RPC API. Supports API-Request listed on XML-RPC with JSON.

Example for a getPosts

  var rpc = require('wordpress-rpc'); 
  var wp = new rpc();
  var parameter = [
    1,
    username,         //set your username
    password          //set your password
  ];
  
  
  wp.call('getPosts', parameter, function(err, data){
    console.log(data);
  });

###default Options

  var options = {
    https : false,
    host : 'localhost',
    port : 80,
    path : '/xmlrpc.php'
  }
  
  var wp = new rpc(options);
0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago