I've been working on the command-line API client, ap, for the #ActivityPub book I'm writing for O'Reilly Media. It's a Python program that implements commands like `ap inbox` (read the inbox) and `ap reject follower` (reject a pending follower).
Originally, I was testing it live, just running it against onepage.pub. This weekend, I buckled down and wrote real unit tests with unittest.mock. It's been amazing; what a great tool.
GitHub - evanp/ap: command-line ActivityPub API client
command-line ActivityPub API client. Contribute to evanp/ap development by creating an account on GitHub.GitHub
This entry was edited (1 year ago)
Nathan Schneider
in reply to Evan Prodromou • • •