rapiclient-package | R Documentation |
Create R functions directly from OpenAPI (formerly Swagger) specification.
Use get_api
to read the specification,
get_operations
to get client functions and
get_schemas
to create functions for additional schemas.
See usage example at https://github.com/bergant/rapiclient#rapiclient
Check out https://github.com/OAI/OpenAPI-Specification for additional information about Open API specification
Please use https://github.com/bergant/rapiclient/issues for issues
Maintainer: Marcel Ramos marcel.ramos@sph.cuny.edu (ORCID) [contributor]
Authors:
Darko Bergant darko.bergant@gmail.com
Other contributors:
Alexandru Mahmoud [contributor]
Sean Davis [contributor]
Martin Morgan [contributor]
Useful links:
## Not run:
# Read API description
api <- get_api(api_url)
# create operation and schema functions
operations <- get_operations(api)
schemas <- get_schemas(api)
# call service
operations$some_operation(x, y, schemas$some_structure(u, v, ...))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.