Skip to content
Levi Waldron edited this page Jan 24, 2019 · 1 revision

Note from Martin on rapiclient

The rapiclient package CRAN or better https://github.com/bergant/rapiclient for parsing JSON:

library(rapiclient)
api <- get_api("api.json").  # api.json from swagger, or editor.swagger.io if provided as yaml
ops <- get_operations(api)
schm <- get_schemas(api)

ops$doSomethingInTheApi()

it's used in AnVIL https://github.com/Bioconductor/AnVIL/tree/rapiclient ; would be worth while to fix issues that come up with this approach, rather than building our own...

Clone this wiki locally