···1717```
18181919```toml
2020+# gleam.toml
2021possum = { git = "https://tangled.org/kacaii.dev/possum", ref = "commit-hash" }
2122```
2223···24252526```gleam
2627// Resolve an atproto handle (hostname) to a DID.
2828+//
2729// You can consult your identifier by sending a request directly to your PDS,
2830// or you can use projects like [Slingshot](https://slingshot.microcosm.blue)
2931// for easy access to cached data when resolving a handle.
···3537// Your server can then respond with the DID value as plain text.
3638request.new()
3739|> possum.resolve_well_known_did("gleam.run")
4040+4141+// Use `did.parse` to turn strings into valid DID format
4242+let assert Ok(did) = did.parse("did:plc:ewvi7nxzyoun6zhxrhs64oiz")
3843```
39444045### Querying Public Data
41464247```gleam
4343-// Reading public data from a repository.
4848+// Reading public data from repositories.
4449// No authorization needed.
4550request.new()
4651|> request.set_host("personal.data-server.pds")
4752|> possum.list_records(
4848- repository: did,
5353+ did: did,
4954 collection: "site.standard.document",
5055 limit: option.Some(3),
5156 cursor: option.None,