Tejapi.rest {Tejapi} | R Documentation |
Executes Tejapi API calls
Description
Executes Tejapi API calls
Usage
Tejapi.rest(path, http = c("GET", "PUT", "POST", "DELETE"),
postdata = NULL, ...)
Arguments
path |
Path to api resource. |
http |
Type of http request sent. |
postdata |
A character or raw vector that is sent in a body. |
... |
Named values that are interpretted as Tejapi API parameters. Please see https://api.tej.com.tw/documents.html. |
Details
Set your api_key
with Tejapi.api_key
function. For instructions on finding your api key go to https://api.tej.com.tw
Value
Tejapi API response.
See Also
Examples
## Not run:
Tejapidata = Tejapi.rest(path="datasets/TWN/AIND", http="GET")
plot(Tejapidata[,1])
## End(Not run)
[Package Tejapi version 1.0.1 Index]