Closed rmrfslashbin closed 6 months ago
This PR adds the /api/v1/accounts/lookup endpoint (https://docs.joinmastodon.org/methods/accounts/#lookup) via a new function func (c *Client) AccountLookup(ctx context.Context, acct string) (*Account, error). Test included.
/api/v1/accounts/lookup
func (c *Client) AccountLookup(ctx context.Context, acct string) (*Account, error)
Thank you
yeah, this is where the module is renamed in go.mod which makes this package uninstallable now because it points to rmrfslsashbin, not this repo
This PR adds the
/api/v1/accounts/lookup
endpoint (https://docs.joinmastodon.org/methods/accounts/#lookup) via a new functionfunc (c *Client) AccountLookup(ctx context.Context, acct string) (*Account, error)
. Test included.