Has anybody played with the Mastodon API? It looks to be pretty straightforward but there's always a gotcha lurking. I hope to get some time to beat on it toward the end of the week. If I learn anything interesting, I'll report back here.

Follow

I've found Postman to be the most useful tool for exploring the API. cURL is still problematic -- I've followed carefully a couple tutorials with no success and I can't figure out why. A simple python script using the request library works well but isn't quite the explore and debug tool that Postman is.

Next up is hook up some sensor to an MCU, send data to a Raspberry Pi running Node-Red, then have N-R use the API to update my Mastodon status. Day job+holidays likely push that out to the new year.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.