This package builds on the wetransfer open API (https://developers.wetransfer.com/) which allows users to send large files (of any kind; up to 2GB per file). To be able to use the package you need to obtain a (free) api key at the forementioned link.
(the WeTransfer API is unfortunately not longer supported)
You can install the development version from Github:
library(devtools)
install_github("tfaber/wetransfeR")
library(wetransfeR)
The package leverages on httr
, jsonlite
package functions.
Using this package you can use the send_wetransfer()
function and include a reference to the path where your files are stored, your api key, a name and (optional) description of the transfer:
send_wetransfer("path/to/files","somekey","my_first_transfer","some nice files")
This is the very first version of the package, there are multiple improvements/ extensions planned:
Please let me know if I can make improvements in the code!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.