From d045107c18b1dd295f79d93cb865c11673269e2f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 17 Feb 2016 16:25:35 +0100 Subject: [PATCH] Added README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index e69de29..8dd6911 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,14 @@ +Goldfinger, a Webfinger client for Ruby +======================================= + +A Webfinger client for Ruby. Supports `application/xrd+xml` and `application/jrd+json` responses. Raises `Goldfinger::Error::NotFound` on failure to fetch the Webfinger or XRD data. + +## Installation + + gem install goldfinger + +## Usage + + data = Goldfinger.finger('acct:gargron@quitter.no') + data.link('http://schemas.google.com/g/2010#updates-from')[:href] + # => "https://quitter.no/api/statuses/user_timeline/7477.atom"