| upload_file | R Documentation |
Upload a file
upload_file(
file_path,
file_name = basename(file_path),
verbose = TRUE,
token = get_todoist_api_token()
)
file_path |
path to the file to upload |
file_name |
name for the uploaded file (defaults to basename of file_path) |
verbose |
boolean that make the function verbose |
token |
todoist API token |
upload object with file_url
## Not run:
upload <- upload_file("document.pdf")
# Use upload$file_url in a comment
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.