get_items_by_ids: Get Hacker News by ids

View source: R/api.R

get_items_by_idsR Documentation

Get Hacker News by ids

Description

Retrieves items corresponding to specified list of ids using Hacker News API

Usage

get_items_by_ids(ids)

Arguments

ids

list of ids

Value

list of hn_item objects

Examples


# retrieve the first two items on Hacker News
items <- get_items_by_ids(c(1,2))
items



hackeRnews documentation built on April 11, 2025, 6:10 p.m.