Start a new topic

Developer API

It'd be great to have a developer API for Cohost especially to support automated/bot posting.

For example, A use case I'm interested in building is for a news bot that could post updates from RSS feeds or other news sources


17 people like this idea

+1, would be nice to be able to make clients for mobile :)

Since you're working on an API, I might I suggest the following:

* [IndieAuth]( (itself an extension to OAuth) for login/authentication 

* [Micropub]( for submitting and editing posts

This combination would immediately make cohost work very well as part of the IndieWeb and could make use of the many existing micropub clients out there (so you don't need to write your own mobile client), and would also allow things like using a Cohost account to sign in to IndieAuth-enabled websites as well.

It'd be nice to support a "standard" API like MetaWeblog if at all possible. I know some of those (including that one!) is old and creaky, but it's old and creaky—and already has existing tools that work with it. A more modern incarnation of that might be Micropub.

(Also, I noted the "documentation is hard" in Jae's link. If you need help with that, you might able to ping me, depending on time constraints [yours and mine] -- I'm actually a technical writer who specializes in documenting developer APIs!)

a public API is coming! no promises on timelines yet but it's important to us to get it shipped.

8 people like this
For the record, there's already a python library out there (will edit with link later) that deals with the private API, but that's obviously not really meant for users. An official api would be cool!
Login or Signup to post a comment