New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wporg

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wporg

A node WordPress(.org) client.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

node-wporg

By @ramisayar

node-wporg is a complete node WordPress(.org) client. It will let you query any part of the WordPress XML-RPC API with ease. It covers the entire API and performs simple validation. It is immediately usable, see the examples below.

NOTE: Some APIs may not be available depending on your WordPress version install.

Installation

To install run:

npm install wporg

Example

var client = wp.createClient({
    username: "username",
    password: "password",
    url: "http://example.com/xmlrpc.php"
});
client.getUsersBlogs(function(err, data){
    if(err){
        console.log(err);
    }
    else {
        console.log(data);
        // Do something.
    }
});

Documentation

You can generate documentation (as well as run jshint and tests) by running:

Note: JAVA_HOME needs to be set.

npm install
./node_modules/grunt-cli/bin/grunt

or

./node_modules/jsdoc/jsdoc lib -d docs

License

Copyright (c) 2013 Rami Sayar Licensed under the The MIT License (MIT)

See LICENSE

Keywords

FAQs

Package last updated on 21 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc