Skip to contents

Build a Zotero library API path

Usage

zotLibraryPath(config, library = "user")

Arguments

config

A zotConfig() object.

library

"user" for the configured user library or a numeric Zotero group identifier.

Value

The API path prefix for the selected library.

See also

Examples

Config <- zotConfig(userID = "42", key = "example-key")
zotLibraryPath(Config)
#> [1] "/users/42"
zotLibraryPath(Config, library = "5107760")
#> [1] "/groups/5107760"