This library facilitates access to sr.ht's legacy REST API. It is incomplete, as development has stopped in anticipation of the API migration to GraphQL.
An example of how to use this library is provided in the form of a simple tool that reads and prints a user's profile details. See
go run cmd/example/example.go -h for more details
Personal access tokens can be managed here: https://meta.sr.ht/oauth