Get Updates
hackernews.get_updates
ActionBusiness appsconnection required
Calls the Hacker News API with the connection's credentials.
Read the item ids and usernames that Hacker News changed most recently.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- No auth
- Providers
- Hacker News
- Secret shape
- no credential — the Hacker News API is public; the connection is a pair of hosts
- Config it needs
- base_url, search_base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
This node takes no configuration beyond its connection.
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The ids of items that changed. | array | — |
profiles The usernames whose profiles changed. | array | — |
item_count How many item ids were returned. | number | — |
profile_count How many usernames were returned. | number | — |
{
"item_count": 0,
"items": [],
"profile_count": 0,
"profiles": []
}Notes
- A change is any edit, vote or new comment — this is a change feed, not a feed of new items.
Related Hacker News nodes
See Get Updates run in a workflow.
In a technical demo we add the Hacker News connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.