download_backup: Download a backup

View source: R/backups.R

download_backupR Documentation

Download a backup

Description

Download a backup

Usage

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

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

Value

path to the saved file (invisible)

Examples

## Not run: 
backups <- get_backups()
download_backup(backups$version[1], "backup.zip")

## End(Not run)

rtodoist documentation built on Feb. 14, 2026, 5:06 p.m.