edan_content_getcontent: Get content

View source: R/edan_content_getcontent.R

edan_content_getcontentR Documentation

Get content

Description

This endpoint retrieves unique atom level content. Either the id and url parameter is required but not both.

Usage

edan_content_getcontent(
  url = NA,
  id = NA,
  linkedContent = TRUE,
  AppID = NA,
  AppKey = NA,
  returnjson = FALSE
)

Arguments

url

The url of the content

id

The id of the content.

linkedContent

A linked content option. Default value: TRUE

AppID

AppID used for authentication

AppKey

Key for the AppID used for authentication

returnjson

If FALSE (default), converts the answer from EDAN to a list. If TRUE, returns the answer as JSON.

Details

All queries require valid EDAN credentials (AppID and AppKey). Consult the EDAN Docs (https://edandoc.si.edu/) for instructions on how to obtain a set of credentials.

Value

List or JSON with the details of the item.


Smithsonian/EDANr documentation built on Dec. 11, 2023, 2:18 a.m.