~timetoplatypus/srhtv1

SourceHut client library in Go

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~timetoplatypus/srhtv1
read/write
git@git.sr.ht:~timetoplatypus/srhtv1

You can also use your local clone with git send-email.

#About

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