ap, the ActivityPub API command-line client

Evan Prodromou @evanprodromou@socialwebfoundation.org

As part of my book "ActivityPub: Programming for the Social Web", I created a coding example to show how to program for the ActivityPub API. ap is a command-line client, written in Python, for doing basic tasks with ActivityPub.For example, you can log into a server using this command: ap login yourname@yourserver.example Once you're logged in, you can follow someone: ap follow other@different.example Or, you could post some content: ap create note --public "Hello, World" This isn't […]

Read more →
0
0

If you have a fediverse account, you can quote this note from your own instance. Search https://socialwebfoundation.org/?p=116962 on your instance and quote it. (Note that quoting is not supported in Mastodon.)