Added README

This commit is contained in:
Eugen Rochko 2016-02-17 16:25:35 +01:00
parent 102ac2c99f
commit d045107c18
1 changed files with 14 additions and 0 deletions

View File

@ -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"