Bluesky API client for app.bsky.* lexicons.
Deprecated. app.bsky endpoints are now generated from vendored
lexicons. Use the generated modules with an
Exosphere.ATProto.XRPC.Client instead:
client = Exosphere.ATProto.XRPC.Client.new("https://public.api.bsky.app")
{:ok, profile} = Exosphere.Bsky.Actor.get_profile(client, actor: "alice.bsky.social")Note: app.bsky. endpoints are served by the Bluesky App View service, not the user's PDS. The PDS only handles com.atproto. endpoints.
Summary
Functions
get_profile(actor)
deprecated
Fetch a user's profile.
Functions
This function is deprecated. Use Exosphere.Bsky.Actor.get_profile/2 with an XRPC client instead.
Fetch a user's profile.
This is a public endpoint that doesn't require authentication.
Parameters
actor- The DID or handle of the user to fetch
Examples
{:ok, profile} = Exosphere.ATProto.Bsky.get_profile("did:plc:...")
# profile = %{
# "did" => "did:plc:...",
# "handle" => "alice.bsky.social",
# "displayName" => "Alice",
# "avatar" => "https://...",
# ...
# }