A client library for the Cohost API

About Clohost

This is a client implementation for the Cohost API. The API is not currently officially documented, so the work in this library was done via observation of how the existing site interacts with its API. It may break if changes are made by ASSC.

How To

Create a client instance and log in. If successful, your client will turn into an account and you'll be able to start making changes and querying for data. Please see the documentation for the account objects and other entitys in the API.

For something simple, you can make a new post with

(make-post (default-page *)
  :tags '("cohost api")
  :content "Posting with,
Hello @Shinmera!")

You can also edit it, reply to it, or destroy the post again. Again, please see the definition cross references for more information on what you can do.

If you'd like to save your session for later use, you can retrieve the token of the account, and then recreate it later via (make-instance 'client :token token).

System Information

Yukari Hafner

Definition Index