Tejapi.rest: Executes Tejapi API calls

Description Usage Arguments Details Value See Also Examples

Description

Executes Tejapi API calls

Usage

1
2
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

Tejapi.api_key

Examples

1
2
3
4
5
## Not run: 
Tejapidata = Tejapi.rest(path="datasets/TWN/AIND", http="GET")
plot(Tejapidata[,1])

## End(Not run)

Tejapi documentation built on May 2, 2019, 9:15 a.m.

Related to Tejapi.rest in Tejapi...