/plumber-playground

Experiments and use cases for the plumber R package.

Primary LanguageHTML

Plumber Playground

This repository is a place to experiment with and demonstrate various features of the plumber R package. Local interaction with the APIs created here happens through the auto-generated Swagger interface or through Postman. Each experiment is designed to focus on one particular feature or use case of plumber.


Experiments

Data

Methods of transferring data in request to plumber API. This examines parsing the postBody along with file uploads and parsing the query string.

Cookies

Experiments with cookies in plumber.

Entrypoint

Experiments with entrypoint.R and how it affects plumber defined APIs.

Gif

Experiments creating a gif serializer for plumber.

htmlwidgets

Experiments with returning htmlwidgets from plumber.

request

Experiments to better understand the request object in plumber.

rmarkdown

Create implicit documetation for plumber APIs using Rmarkdown comments and rmarkdown::render().

swagger

This experiment is used to better understand how the Swagger works in connection with plumber.

programmatic

Experiments to understand programmatic development of plumber APIs.