1.1.1 • Published 9 years ago

wpcom-unpublished v1.1.1

Weekly downloads
29
License
MIT
Repository
github
Last release
9 years ago

wpcom-unpublished

WPCOM extension that uses unpublished endpoints of the WordPress REST-API.

How to use

// Require modules
var wpcomUnpublished = require( 'wpcom-unpublished' );
var proxy = require( 'wpcom-proxy-request' );

// Create wpcom instance
var wpcom = wpcomUnpublished( proxy );

// Get settings for the current user
wpcom
.me()
.settings()
.get( function( err, data ) {
  // user settings data object
} );

Run testing app

  1. Install npm dependencies make install
  2. Add 127.0.0.1 calypso.localhost to your local hosts file.
  3. Execute make run-test-app from the root directory of the repository.
  4. Open calypso.localhost:3000 in your browser.

Links

License

wpcom-unpublished is licensed under GNU General Public License v2 (or later).

1.1.1

9 years ago

1.1.0

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago