get_one: Get one of something from LabGuru

Description Usage Arguments Examples

View source: R/guru-utils.R

Description

This function allows you to pull something (tube, tissue, etc) from the LabGuru API.

Usage

1
get_one(token, id, data_type)

Arguments

token

A valid LabGuru API token

id

The ID of the object you would like to retrieve

data_type

What kind of object tubes, tissues, or boxes

Examples

1
2
3
4
5
6
7
## Not run: 
# get a box via the api
tok <- 'API_SECRET'
box_info <- get_one(token = tok, id = 70, data_type = 'boxes')


## End(Not run)

JovingeLabSoftware/BioradConfig documentation built on May 7, 2019, 12:04 p.m.