This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
A Common Lisp client library for the Cohost API
License
Shinmera/clohost
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# About Clohost This is a client implementation for the "Cohost"(https://cohost.org) 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 ``entity``s in the API. For something simple, you can make a new post with :: common lisp (make-post (default-page *) :tags '("cohost api") :content "Posting with https://github.com/shinmera/clohost, 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)``.
About
A Common Lisp client library for the Cohost API
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published