DEV Community

Walter Augustine
Walter Augustine

Posted on • Edited on

Hacker News Coze Plugin

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.

Top comments (2)

Collapse
 
zarazhangrui profile image
Zara Zhang

Hi Walter, thanks for submitting your plugins! This is Zara from the Coze team and I really liked your submissions; would you be interested in being interviewed on video for the Coze official YouTube channel? The video style will be similar to youtube.com/watch?v=8wz8xt20kWo and you'll be walking through how you built your plugins through screen share. (I'll be the interviewer and guiding you through the process). If you're interested, please shoot me an email at zarazhang@coze.com. Thank you!

Collapse
 
walter0 profile image
Walter Augustine

Hi Zara,

Sorry for the late reply, I'm only seeing this now. I'm not really interested in being interviewed, but I just wanted to respond to let you know I wasn't ignoring you!