Description Usage Arguments Value
Call the BioSys API serializer's list view with given GET parameters and return the response JSON as list of lists.
1 2 3 | biosys_get(serializer, api = "https://biosys.dbca.wa.gov.au/api",
un = Sys.getenv("BIOSYS_UN"), pw = Sys.getenv("BIOSYS_PW"),
query = list())
|
serializer |
(character) WAStD API serializer name (required).
Possible values as per
|
api |
(character) The BioSys API URL, default https://biosys.dbca.wa.gov.au/api/ |
un |
(character) The BioSys username, default |
pw |
(character) The BioSys password, default |
query |
(list) API query parameters for format, limit, filtering (default: list(taxon='Cheloniidae', limit=10000, format='json')) |
An S3 object of class 'wastd_api_response' containing:
content: The retrieved JSON as list of lists
serializer: The called serializer, e.g. 'projects'
response: The API HTTP response with all metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.