class Bsky::Client

Defined in:

bsky/client.cr

Constant Summary

BASE_URL = "https://bsky.social/xrpc"

Instance Method Summary

Instance Method Detail

def access_token : String | Nil #

[View source]
def did : String | Nil #

[View source]
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)


[View source]
def logout : Nil #

[View source]
def refresh_token : String | Nil #

[View source]
def send_post(plain_text : String) #

[View source]
def send_post(text : RichText) #

[View source]
def upload_image(image_data : String, mime_type : String, alt : String | Nil = nil) : Image | Nil #

[View source]