Get Max Item Id
hackernews.get_max_item
ActionBusiness appsconnection required
Calls the Hacker News API with the connection's credentials.
Read the largest item id on Hacker News, the starting point for walking backwards through everything.
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 |
|---|---|---|
max_item_id The largest item id that currently exists. | number | — |
{
"max_item_id": 0
}Related Hacker News nodes
See Get Max Item Id 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.