getResponseFromWS: getResponseFromWS retrieves the data of a service from the WS

Description Usage Arguments Value

View source: R/getCall.R

Description

Create an URL to call the WS and return a formatted response of WSResponse class.

Usage

1
2
getResponseFromWS(resource, paramPath = NULL, attributes, wsVersion,
  type = "application/json")

Arguments

resource

character, the name of the service to call

paramPath

character, the extension of the service to call, default to NULL

attributes

character, the list of attributes to give to the GET request

wsVersion

numeric, the version of the webservice

type

character, the type of the output, default to application/json

Value

responseObject object HTTP httr


OpenSILEX/opensilex-ws-client-R documentation built on June 2, 2021, 10:24 p.m.