api_query: api_query

Description Usage Arguments Value

View source: R/dwh_api_client.R

Description

api_query

Usage

1
2
api_query(base_url, endpoint, token, query_body = list(),
  METHOD = httr::POST)

Arguments

base_url:

url for the api

token:

jwt token (from get_token)

query_body:

named list of parameters for the query

Value

result of the query (assumes a json format for the result)


aneuraz/DWHtools2 documentation built on Sept. 6, 2019, 8:11 p.m.