API

XML sucks: The Ascent of Ward

Hate XML? You'll love Heyaoi Micro's API.

Read

Just GET these simple files:

You can check the modify timestamp in a post or reply file's metadata to see the day it was created. The exact time is stripped to improve anonymity.

Write

Just POST these fields to https://micro.heyaoi.online/p/:

Examples

Working with Heyaoi Micro's API in another language? Send some example code to admin@heyaoi.online and we'll add it here.

rc shell

Get the text of every post tagged with #tokumei:
for(i in `{curl https://micro.heyaoi.online/_werc/tags/tokumei})
    curl https://micro.heyaoi.online/p/$i.txt
Get the approximate creation date of post #1 in seconds since Epoch:
wget https://micro.heyaoi.online/p/1.txt
stat -c %Y 1.txt
Create a new post:
curl -d 'comment=First line%0ASecond line' \
     -d 'tags=firsttag, secondtag' \
     -d 'file=https://example.com/file.png' \
     -d 'password=supersecret' \
     https://micro.heyaoi.online/p/
Reply to post #1:
curl -d 'comment=First line%0ASecond line' \
     -d 'parent=1' \
     https://micro.heyaoi.online/p/

Java / Qt Jambi

There is a partial reference client in Java: Toqumei.

Toqumei