├── doc └── intro.md ├── .gitignore ├── src └── practicalli │ └── simple_api_client.clj ├── test └── practicalli │ └── simple_api_client_test.clj ├── deps.edn ├── README.md └── CHANGELOG.md /doc/intro.md: -------------------------------------------------------------------------------- 1 | # Introduction to simple-api-client 2 | 3 | TODO: write [great documentation](http://jacobian.org/writing/what-to-write/) 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /classes 3 | /checkouts 4 | pom.xml 5 | pom.xml.asc 6 | *.jar 7 | *.class 8 | /.cpcache 9 | /.lein-* 10 | /.nrepl-history 11 | /.nrepl-port 12 | .hgignore 13 | .hg/ 14 | -------------------------------------------------------------------------------- /src/practicalli/simple_api_client.clj: -------------------------------------------------------------------------------- 1 | (ns practicalli.simple-api-client 2 | (:gen-class)) 3 | 4 | (defn -main 5 | "I don't do a whole lot ... yet." 6 | [& args] 7 | (println "Hello, World!")) 8 | -------------------------------------------------------------------------------- /test/practicalli/simple_api_client_test.clj: -------------------------------------------------------------------------------- 1 | (ns practicalli.simple-api-client-test 2 | (:require [clojure.test :refer :all] 3 | [practicalli.simple-api-client :refer :all])) 4 | 5 | (deftest a-test 6 | (testing "FIXME, I fail." 7 | (is (= 0 1)))) 8 | -------------------------------------------------------------------------------- /deps.edn: -------------------------------------------------------------------------------- 1 | {:paths ["resources" "src"] 2 | :deps {org.clojure/clojure {:mvn/version "1.10.1"}} 3 | :aliases 4 | {:test {:extra-paths ["test"] 5 | :extra-deps {org.clojure/test.check {:mvn/version "0.10.0"}}} 6 | :runner 7 | {:extra-deps {com.cognitect/test-runner 8 | {:git/url "https://github.com/cognitect-labs/test-runner" 9 | :sha "76568540e7f40268ad2b646110f237a60295fa3c"}} 10 | :main-opts ["-m" "cognitect.test-runner" 11 | "-d" "test"]}}} 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # simple-api-client 2 | 3 | Consuming API data from Clojure 4 | 5 | ## Installation 6 | 7 | Download from https://github.com/practicalli/simple-api-client 8 | 9 | ## Usage 10 | 11 | 12 | Run the project directly: 13 | 14 | $ clj -m practicalli.simple-api-client 15 | 16 | Run the project's tests (they'll fail until you edit them): 17 | 18 | $ clj -A:test:runner 19 | 20 | ## Options 21 | 22 | FIXME: listing of options this app accepts. 23 | 24 | ## Examples 25 | 26 | ... 27 | 28 | ### Bugs 29 | 30 | ... 31 | 32 | ### Any Other Sections 33 | ### That You Think 34 | ### Might be Useful 35 | 36 | ## License 37 | 38 | Copyright © 2019 Practicalli 39 | 40 | Distributed under the Creative Commons Attribution Share-Alike 4.0 International 41 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/). 3 | 4 | ## [Unreleased] 5 | ### Changed 6 | - Add a new arity to `make-widget-async` to provide a different widget shape. 7 | 8 | ## [0.1.1] - 2019-11-30 9 | ### Changed 10 | - Documentation on how to make the widgets. 11 | 12 | ### Removed 13 | - `make-widget-sync` - we're all async, all the time. 14 | 15 | ### Fixed 16 | - Fixed widget maker to keep working when daylight savings switches over. 17 | 18 | ## 0.1.0 - 2019-11-30 19 | ### Added 20 | - Files from the new template. 21 | - Widget maker public API - `make-widget-sync`. 22 | 23 | [Unreleased]: https://github.com/your-name/simple-api-client/compare/0.1.1...HEAD 24 | [0.1.1]: https://github.com/your-name/simple-api-client/compare/0.1.0...0.1.1 25 | --------------------------------------------------------------------------------