bs_upload_blob {bskyr}R Documentation

Upload a blob to a repo

Description

Upload a blob to a repo

Usage

bs_upload_blob(
  blob,
  user = get_bluesky_user(),
  pass = get_bluesky_pass(),
  auth = bs_auth(user, pass),
  clean = TRUE
)

Arguments

blob

Character, files to upload to a repo.

user

Character. User name to log in with. Defaults to get_bluesky_user().

pass

Character. App password to log in with. Defaults to get_bluesky_pass().

auth

Authentication information. Defaults to bs_auth(user, pass).

clean

Logical. Should output be cleaned into a tibble? Default: TRUE.

Value

a tibble::tibble of upload blob information

Lexicon references

repo/uploadBlob.json (2023-11-24)

Function introduced

v0.1.0 (2023-11-24)

Examples


fig <- fs::path_package('bskyr', 'man/figures/logo.png')
bs_upload_blob(fig)


[Package bskyr version 0.1.2 Index]