Skip to contents

Access the item IDs from an Internet Archive items

Usage

ia_item_id(item)

Arguments

item

A list describing an Internet Archive items returned from the API. This argument is vectorized.

Value

A character vector containing the item IDs.

Examples

ats_query <- c("publisher" = "american tract society")
ids       <- ia_search(ats_query, num_results = 3)
#> 1511 total items found. This query requested 3 results.
items     <- ia_get_items(ids)
#> Getting fromoceantoocean00shilrich
#> Getting MN41554ucmf_9
#> Getting fromhongkongtoh00clargoog
ia_item_id(items)
#> [1] "fromoceantoocean00shilrich" "MN41554ucmf_9"             
#> [3] "fromhongkongtoh00clargoog"