Description Usage Arguments Details Value References Examples
wrapper of http logic for SBG API
1 2 3 4 5 6 7 8 9 |
auth_token |
authenticate token string. |
version |
API version number, default 1.1. |
path |
path connected with base_url. |
method |
one of 'GET', 'POST', 'PUT', 'Delete' |
query |
Passed to httr package GET/POST call. |
body |
Passed to httr package GET/POST/PUT/DELETE call. |
base_url |
defeault is 'https://api.sbgenomics.com/1.1' |
Used for advanced users and the core method for higher level API in this package, please refer to the easy api manual and the two vignettes pages for more convenient usage.
returned request list of httr
https://docs.sbgenomics.com/display/developerhub/API
1 2 3 4 | token <- "fake_token"
## list projects
sbgapi(auth_token = token, path = 'project', method = "GET")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.