Atex.XRPC.UnauthedClient (atex v0.9.1)

View Source

An XRPC client that doesn't perform any authentication to a service. Can be used for public APIs like public.api.bsky.app, or performing public reads from PDSes.

Usage

client = Atex.XRPC.UnauthedClient.new("https://public.api.bsky.app")
{:ok, response, client} = Atex.XRPC.get(client, "app.bsky.actor.getProfile", params: [actor: "ovyerus.com"])

Summary

Types

t()

@type t() :: %Atex.XRPC.UnauthedClient{endpoint: String.t()}

Functions

new(endpoint)

@spec new(String.t()) :: t()

Create a new Atex.XRPC.UnauthedClient.