Goldfinger, a Webfinger client for Ruby

Gem Version

A Webfinger client for Ruby. Supports application/xrd+xml and application/jrd+json responses. Raises Goldfinger::NotFoundError on failure to fetch the Webfinger or XRD data, or Goldfinger::SSLError if something is wrong with the HTTPS connection it uses.


gem install goldfinger


data = Goldfinger.finger('acct:[email protected]')'')[:href]
# => ""

RFC support

The gem only parses link data. It does not currently parse aliases, properties, or more complex structures.