Zotero: Zotero Class Object

Description Details Public fields Methods

Description

Zotero object stores (1) user information and (2) cached request table, and provides (1) print and (2) request method

Details

The request method are wrapped with

Public fields

name

Name of Zotero Web API Key

library_type

Library Type. "users" or "groups"

privacy

Privacy Setting of the library. "private" or "public"

cache

Cached request table

Methods

Public methods


Method new()

Create a new Zotero object

Usage
Zotero$new(name)
Arguments
name

Name of Zotero Web API key

Returns

A new Zotero object


Method print()

Print a Zotero object

Usage
Zotero$print()
Returns

None


Method request()

Send request

Usage
Zotero$request(verb, path, key, ..., timeout)
Arguments
verb

Request verb. Either "GET" or "POST"

path

Request path

key

Flag to indicate whether read privileges or not

...

Query inputs

timeout

Seconds for the timeout of request

Details

This function is not supposed to be called directory. Instead, please use other specific functions. For available values for path and ... (query), please see https://www.zotero.org/support/dev/web_api/v3/basics


tellnnn/ztr4r documentation built on Dec. 23, 2021, 8:43 a.m.