API Queries

Options for controlling low-level interactions with the ScienceBase API.

--max-per-query N

Specifies the maximum number of product records that the ScienceBase API should return per query. Note that the command may perform multiple API queries if the total number of matching assessments exceeds this number. Defaults to 500 and cannot exceed 1000.

Example:

pwfdf |command| --max-per-query 1000
--max-queries N

Specifies a maximum allowed number of ScienceBase API queries. Raises an error if this number is exceeded.

Example:

pwfdf |command| --max-queries 5
--timeout SECONDS

Specifies the maximum allowed amount of time to connect with the ScienceBase server. Raises an error if the command cannot connect in this time frame. Defaults to 15 seconds.

Example:

pwfdf |command| --timeout 60