Automattic / Postbot

Scheduled posting of photos
GNU General Public License v2.0
23 stars 5 forks source link

Use WPCOM REST PHP Lib #16

Open mjangda opened 10 years ago

mjangda commented 10 years ago

Deprecate the packaged API lib and use https://github.com/Automattic/wordpress-com-rest-php/ instead.

johngodley commented 10 years ago

Yep, meaning to do this. Is the current API stable? It's changed since I first looked. Any thoughts on integrating the WPCC stuff?

mjangda commented 10 years ago

Is the current API stable?

Stable-ish :) I haven't gotten too much feedback on it so I'm not planning to change things unless I hear otherwise. Some stuff like handling auth will probably change (to allow for alternate auth methods) but I think the other pieces should stay mostly as-is.

We can also always add the lib as a git submodule and pin to a specific revision/version and handle updates accordingly.

Any thoughts on integrating the WPCC stuff?

Yeah, we should definitely do that as well. I committed the wpcc file into the repo with my first commit but haven't touched it since.

nb commented 10 years ago

It’s mostly us using it, so I think it’s OK to mark it as “alpha” and try it in few projects until we figure out the interface.