Get Item

Go to Product

Get an item

Stories, comments, jobs, Ask HNs and even polls are just items. They're identified by their ids, which are unique integers.

Options

Id
The item's unique id.
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Id: The item's unique id.
  • Deleted: true if the item is deleted.
  • Type: The type of item. One of "job", "story", "comment", "poll", or "pollopt".
  • By: The username of the item's author.
  • Time: Creation date of the item, in Unix Time.
  • Text: The comment, story or poll text. HTML.
  • Dead: true if the item is dead.
  • Parent: The comment's parent: either another comment or the relevant story.
  • Poll: The pollopt's associated poll.
  • Kids: The ids of the item's comments, in ranked display order.
  • Url: The URL of the story.
  • Score: The story's score, or the votes for a pollopt.
  • Title: The title of the story, poll or job. HTML.
  • Parts: A list of related pollopts, in display order.
  • Descendants: In the case of stories or polls, the total comment count.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.