Last active
August 5, 2018 21:29
-
-
Save pjagielski/cf23f156e6fadc74ca11e1b706689e28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns worldcup.matches | |
(:require | |
[clj-http.client :as http])) | |
(def api-root "https://worldcup.sfg.io") | |
(defn get-all-matches [] | |
(-> | |
(http/get (str api-root "/matches") {:as :json}) | |
:body)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment