Topic: Grabbing comments with API?

Posted under e621 Tools and Applications

Howdy. With the new API, is there a way to get comments? Parameters to the GET request aside, sending a GET to
https://e621.net/comment/index.json or https://e621.net/comment.json redirects to https://e621.net/comments?page= and returns HTML, and sending one to
https://e621.net/comments.json or https://e621.net/comments/index.json returns JSON as if I just asked for posts, and returns no information on comments.

Did I accidentally look over something, or is this no longer/not yet implemented?

There currently isn't anything for this. It's used to support the show all comments feature internally, so it returns html formatted copies of comments to be inserted. The current "API" isn't really an API, just a mess of internal endpoints that are formatted as json. I'll make sure to fix that up when I start working on an actual API.

  • 1