Description Usage Arguments Value Examples
Get protected resources (CHPP files in XML format).
1 | protected_resources(query, consumer, access_token, parse = FALSE)
|
query |
A query string, e.g. |
consumer |
A consumer, created by |
access_token |
An access token, created by |
parse |
Parse the result using |
If parse
is FALSE
, a character vector, otherwise an
object of class "xml_document"
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# Consumer key and secret below are for illustrative purposes only
cns <- consumer("3qxJ4m36ONdmkQxVES9xW5",
"nOhqxax1vDLElZPXgSzYOWIGWbDTQD1BpegtGPz4sCu")
rtkn <- request_token(cns)
aurl <- authorization_url(cns, rtkn)
# Open in browser and enter your login name and password
# to obtain your verification code
browseURL(aurl)
# Verification code below is for illustrative purposes only
atkn <- access_token(cns, rtkn, "CzYLOvq9NniD5L8T")
pres <- protected_resources("file=teamdetails&version=3.4", cns, atkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.