briqr provides access to theBriq API using R
devtools::install_github("davidrubinger/briqr")Get a Briq API token by creating a new custom application in theBriq adminsection.
briqr functions will read the API token from environmentvariablebriq_api_token, which should be included in a.Renviron file in your home directory like so:briq_api_token = your_briq_api_token
briqr functions will read your organization name fromenvironment variableorganization_name, which should beincluded in.Renviron like so:organization_name = your_organization_name
You can get data frames of all the users (bq_users()),user groups (bq_groups()) and transactions(bq_transactions()) of your organization.
Return a tibble of all Briq users within your organization:
library(briqr)bq_users()