wpIdentity
A package that implements OAuth identity and a simple verb set with wordpress.com for Node.js apps.
It works
You can try it out here.
You can log on, and see a list of your sites, when each was created and modified.
Here's a screen shot.
How to set up a server
-
Download the folder.
-
Throw away everything but the shell folder. In the shell folder you can throw away source.opml.
-
Move the shell folder to your server.
-
Edit the config.json file with the credentials you got from WordPress.com.
-
npm install
-
node wpidentity.js
Check out worknotes
I've been narrating my work in the worknotes.
Automattic docs
These docs proved useful at different points in this project.
-
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js
-
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js/docs
Other pointers
I am using this site for testing. https://scripting4.wordpress.com/