Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honza/gauges-clj
https://github.com/honza/gauges-clj
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/honza/gauges-clj
- Owner: honza
- License: bsd-2-clause
- Created: 2013-04-25T18:46:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-26T09:53:27.000Z (over 11 years ago)
- Last Synced: 2024-06-10T18:27:14.085Z (5 months ago)
- Language: Clojure
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gauges-clj
==========A client library for Gaug.es.
Install
-------Available from Clojars:
``` clojure
[gauges-clj "0.1.0"]
```Usage
-----``` clojure
(ns your-app
(:require [gauges-clj.core :as g]))(def gauge {:api-key " {}
{:people 9,
:date 2013-04-26,
:urls {:newer nil,
:older https://secure.gaug.es/gauges//traffic?date=2013-03-01},
:views 563,
:traffic [{:people 1, :date 2013-04-01, :views 3}
{:people 3, :date 2013-04-02, :views 55}
...
{:people 0, :date 2013-04-25, :views 0}
{:people 0, :date 2013-04-26, :views 0}]}(g/get-traffic gauge {:page 2})
=> {}(g/get-traffic gauge {:date "2013-01-22"})
=> {}
```License
-------BSD, short and sweet