An R package with bindings to the Backblaze B2 API.
This package provides convenience functions for the Backblaze B2 cloud storage API. All B2 API calls are mapped to equivalent R functions. This package allows R programs upload, download and delete files from B2.
The released version is available from CRAN
install.packages("backblazer")
library("backblazer")
Install the development version from GitLab
# install.packages("devtools")
devtools::install_git("https://gitlab.com/phillc73/backblazer.git")
library("backblazer")
Or the development version from GitHub if you prefer (identical to the GitLab development version)
# install.packages("devtools")
devtools::install_github("phillc73/backblazer")
library("backblazer")
The following additional R packages are required.
# Requires a minimum of version 1.0.0
library("httr")
# Requires a minimum of version 0.9.19
library("jsonlite")
# Requires a minimum of version 0.9.1
library("openssl")
# Requires a minimum of version 3.2.3. Included in base R.
library("tools")
?b2AuthorizeAccount
?b2CreateBucket
?b2DeleteBucket
?b2DeleteFileVersion
?b2DownloadFilebyId
?b2DownloadFileByName
?b2GetFileInfo
?b2GetUploadUrl
?b2HideFile
?b2ListBuckets
?b2ListFileNames
?b2ListFileVersions
?b2UpdateBucket
?b2UploadFile
This list covers all Backblaze B2 API functions. Each function contains documented descriptions for their use. All mandatory parameters are included for the functions to operate. Some optional parameters are included. It is currently possible to upload, download, list, hide and delete files in a Backblaze B2 account using this package.
A more detailed vignette is available with details regarding how to use each of these functions.
Please refer directly to the Backblaze B2 API documentation for even further information.
This should be largely complete and covers all Backblaze B2 API calls.
Current Version: 0.2
Problems? Something just doesn't work?
The backblazer
package is provided with absolutely no warranty. All backblazer
functions have been tested and should work, but they may not work as you think they do. Be careful with your stuff. Things may go wrong. Author accepts no responsibility for lost, damaged or otherwise soiled files.