Is there an authentication-less API (ideally REST) letting you fetch one or several toots without having to parse HTML ?
All the API I find seem to be designed for complex clients and involve registering with the involved instances.
@denys_seguret by using the atom feed maybe ?
@Linuxine Thanks. I see how I can get a user's feed. But how would I get a specific toot (having the instance's URL, the author's name and the toot's ID) ?
@denys_seguret With the toot url ? by clicking on the xx minutes ago link for example ?
@Linuxine yes but this gives you the toot in HTML. I was looking for something clean, without having to parse HTML (XML would be OK, JSON would be great).
@denys_seguret oh ok, sorry, I didn't understood ^^ not sure this is possible, but I am still discovering the service !
@Linuxine The URL of the relevant atom message is in the HTTP headers. So it looks like we can simply do a HEAD request to get the atom URL:
curl -I https://octodon.social/@denys_seguret/100014
I'll probably do a toot boxing for the Miaou chat
@denys_seguret didn"t know Miaou, seems nice :)