bs_get_record {bskyr}R Documentation

Get an arbitrary record from a repo

Description

Get an arbitrary record from a repo

Usage

bs_get_record(
  repo = NULL,
  collection = NULL,
  rkey = NULL,
  user = get_bluesky_user(),
  pass = get_bluesky_pass(),
  auth = bs_auth(user, pass),
  clean = TRUE
)

Arguments

repo

Character, length 1. The handle or DID of the repo.

collection

Character, length 1. The NSID of the record collection.

rkey

Character, length 1. The CID of the version of the record. If not specified, then return the most recent version.

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/getRecord.json (2023-11-24)

Function introduced

v0.1.0 (2023-11-24)

Examples


bs_get_record('https://bsky.app/profile/bskyr.bsky.social/post/3kf2577exva2x')


[Package bskyr version 0.1.2 Index]