| CARVIEW |
webfinger-client: WebFinger client library
This is a client library for querying a WebFinger resource and parsing the response.
[Skip to Readme]
Downloads
- webfinger-client-0.2.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1 |
|---|---|
| Change log | ChangeLog |
| Dependencies | aeson (>=2.2.3 && <2.3), base (>=4.17.2 && <4.21), bytestring (>=0.11.5 && <0.12), data-default-class (>=0.2.0 && <0.3), hashable (>=1.4.7 && <1.5), http-client (>=0.7.18 && <0.8), http-client-tls (>=0.3.6 && <0.4), http-types (>=0.12.4 && <0.13), link-relations (>=0.1.1 && <0.2), text (>=2.0.2 && <2.2), unordered-containers (>=0.2.20 && <0.3), uri-bytestring (>=0.4.0 && <0.5) [details] |
| Tested with | ghc ==9.8.4 |
| License | LicenseRef-PublicDomain |
| Copyright | ♡ Copying is an act of love. Please copy, reuse and share. |
| Author | fr33domlover |
| Maintainer | fr33domlover@riseup.net, vpark45@gmail.com |
| Uploaded | by JoonkyuPark at 2025-06-16T05:11:04Z |
| Category | Network, Web |
| Home page | https://hub.darcs.net/vincent/webfinger-client |
| Bug tracker | https://hub.darcs.net/vincent/webfinger-client/issues |
| Source repo | head: darcs get https://hub.darcs.net/vincent/webfinger-client |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 1432 total (28 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2025-06-16 [all 1 reports] |
Readme for webfinger-client-0.2.2.1
[back to package description]See the .cabal file for more info and link to project website the version control.
The official download location is Hackage:
https://hackage.haskell.org/package/webfinger-client
This library is free software, and is committed to software freedom. It is released to the public domain using the CC0 Public Domain Dedication. For the boring "legal" details see the file 'COPYING'.
See the file 'INSTALL' for hints on installation. The file 'ChangeLog' explains how to see the history log of the changes done in the code. 'NEWS' provides a friendly overview of the changes for each release.
Example Usage
Here is a simple example of how to use the webfinger-client library:
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Data.Default
import Web.Finger.Client
query :: Query
query = def { qryTarget = resource }
where
resource = ResAccount (Account "curry" "hackers.pub")
main :: IO ()
main = do
manager <- newManager
result <- webfinger manager query
print result
This code uses the WebFinger protocol to query information about a specified resource and prints the result. The qryTarget is set to an Account, and in this example, it queries the account "curry" on the domain hackers.pub.