host_meta v0.2.3

A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.

host_meta

GitHub Release Build Status Documentation

A Web Host Metadata client for Crystal.

Installation

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

Usage

require "host_meta"

h = HostMeta.query("epiktistes.com") # => #<HostMeta::Result:0x10e99...>
h.links("lrdd").first.template # => "https://epiktistes.com/.well-known/webfinger?resource={uri}"

Contributors

Repository

host_meta

Owner
Statistic
  • 3
  • 0
  • 0
  • 1
  • 1
  • almost 3 years ago
  • April 8, 2019
License

MIT License

Links
Synced at

Sat, 27 Apr 2024 19:47:53 GMT

Languages