Hacker News Coze Plugin

Walter Augustine - Apr 20 - - Dev Community

This is a submission for the Coze AI Bot Challenge: Trailblazer.

What I Built

I built a plugin that allows Coze bots to make requests to the Hacker News API.

Demo

https://www.coze.com/store/plugin/7360083700228407302

Bots can make requests to get

  • Items (which can be one of)
    • Stories
    • Comments
    • Jobs
    • Polls
    • Poll options
  • Users
  • IDs of the latest items available, since the v0 API is essentially a dump of their in-memory data structures.

Journey

Hacker News publishes their public API spec, so I was able to use that as a starting point to match the structure of the request and response objects.

. .
Terabox Video Player