class Bsky::Client
- Bsky::Client
- Reference
- Object
Defined in:
bsky/client.crConstant Summary
-
BASE_URL =
"https://bsky.social/xrpc"
Instance Method Summary
- #access_token : String | Nil
- #did : String | Nil
-
#login(identifier : String, password : String) : JSON::Any
Create an "App Password" https://bsky.app/settings/app-passwords
identifier
should be your login (e.g. - #logout : Nil
- #refresh_token : String | Nil
- #send_post(plain_text : String)
- #send_post(text : RichText)
- #upload_image(image_data : String, mime_type : String, alt : String | Nil = nil) : Image | Nil
Instance Method Detail
def login(identifier : String, password : String) : JSON::Any
#
Create an "App Password" https://bsky.app/settings/app-passwords
identifier
should be your login (e.g. myname.bsky.social)