ohloh-hs: Interface to the Ohloh API

[ bsd3, library, program, web ] [ Propose Tags ]

ohloh-hs is an interface to the Ohloh API (http://www.ohloh.net), which provides access to the data of the Ohloh open source directory. It consists mainly of simple data types for the items exposed by the API and corresponding Text.XML.HXT.Arrow.Pickle pickler functions in order to convert those types from/to XML easily.


[Skip to Readme]
Versions 0.0.1, 0.0.2
Dependencies base (==4.*), cmdargs, data-lens, hxt, hxt-curl, pretty-show, text-format-simple [details]
License BSD-3-Clause
Author Frank S. Thomas <frank@timepit.eu>
Maintainer Frank S. Thomas <frank@timepit.eu>
Category Web
Home page https://github.com/fthomas/ohloh-hs
Bug tracker https://github.com/fthomas/ohloh-hs/issues
Source repo head: git clone https://github.com/fthomas/ohloh-hs
Uploaded by FrankThomas at Sun Nov 25 15:04:47 UTC 2012
Distributions NixOS:0.0.2
Executables cmdoh
Downloads 775 total (4 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-23 [all 7 reports]
Hackage Matrix CI

Modules

  • Web
    • Web.Ohloh
      • Web.Ohloh.Account
      • Web.Ohloh.ActivityFact
      • Web.Ohloh.Analysis
      • Web.Ohloh.ContributorFact
      • Web.Ohloh.ContributorLanguageFact
      • Web.Ohloh.Enlistment
      • Web.Ohloh.Factoid
      • Web.Ohloh.Kudo
      • Web.Ohloh.KudoScore
      • Web.Ohloh.Language
      • Lens
        • Web.Ohloh.Lens.IdL
        • Web.Ohloh.Lens.NameL
        • Web.Ohloh.Lens.UpdatedAtL
      • Web.Ohloh.Project
      • Web.Ohloh.Repository
      • Web.Ohloh.Response
      • Web.Ohloh.ResultType
      • Web.Ohloh.SizeFact
      • Web.Ohloh.Stack
      • Web.Ohloh.StackEntry

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ohloh-hs-0.0.1

[back to package description]

ohloh-hs

ohloh-hs is a Haskell Interface to the Ohloh API, which provides access to the data of the Ohloh open source directory. It consists mainly of simple data types for the items exposed by the API and corresponding HXT pickler functions in order to convert those types from/to XML easily.

Building

ohloh-hs uses the Cabal build system. To build ohloh-hs' tests and tools, run these command in its source tree:

cabal configure --enable-tests
cabal build

If the build succeeded, you can for example run the cmdoh tool:

dist/build/cmdoh/cmdoh --help

Examples

Here are some example invocations of the cmdoh tool:

cmdoh fetch -k YOUR_API_KEY_HERE language haskell

cmdoh read -f tests/queries/language.xml

Author

ohloh-hs was written by Frank S. Thomas <frank@timepit.eu>