toddsundsted / web_finger

A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web_finger

GitHub Release Build Status Documentation

A WebFinger client for Crystal.

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  web_finger:
    github: toddsundsted/web_finger
  1. Run shards install

Usage

require "web_finger"

w = WebFinger.query("acct:toddsundsted@epiktistes.com") # => #<WebFinger::Result:0x108d...>
w.link("http://webfinger.net/rel/profile-page").href # => "https://epiktistes.com/@toddsundsted"

Contributors

About

A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.

License:MIT License


Languages

Language:Crystal 100.0%