MastoBot 0.1.0-2

I’ve published another prerelease of # to ; this prerelease expands coverage of the MastoBotAPI class and significantly improves method documentation coverage.

The library is at and

This covers most of the basic API endpoints, one could build a fairly full-featured bot or client around it, and the underlying MastoBotHttp methods are exposed so any missing endpoints can be called manually.

Real Soon Now ™, I will start building out the really cool stuff in the top-layer api.

The main “smart” api pattern I’m planning is `processNotifications(callbacks)` (and `processHomeTimeline()`, `processLocalTimeline()`, etc), where `callbacks` is an object containing callback functions for each type of object the timeline can return; the method will return a Promise resolving to the array of callback returns.

As I mentioned earlier, I’m dogfooding MastoBot in a silly little bot called Multiverse Coordinates, at Right now it’s a bit messy, using the MastoBotAPI endpoint wrappers, but as I build out the library I’m updating the bot to use new features. Once it’s a reasonable representation of the library, I plan to release the as an example for MastoBot.

Author: Eddie Roosenmaallen

By day I'm the Release Manager at Distributive; I help build the Distributed Compute Protocol at In my off time I explore Linux, JavaScript and the web, and I try to share some of my knowledge and some of my humour online.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.