Learn R Programming

rtodoist (version 0.4.0)

download_backup: Download a backup

Description

Download a backup

Usage

download_backup(
  version,
  output_file,
  verbose = TRUE,
  token = get_todoist_api_token()
)

Value

path to the saved file (invisible)

Arguments

version

version of the backup to download (from get_backups())

output_file

path where to save the backup file

verbose

boolean that make the function verbose

token

todoist API token

Examples

Run this code
if (FALSE) {
backups <- get_backups()
download_backup(backups$version[1], "backup.zip")
}

Run the code above in your browser using DataLab