Notes about re-graph
This commit is contained in:
parent
24c5273e33
commit
e4cf8b1f6e
3
deps.edn
3
deps.edn
@ -1,7 +1,8 @@
|
|||||||
{:paths ["src" "resources"]
|
{:paths ["src" "resources"]
|
||||||
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
|
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
|
||||||
clj-http/clj-http {:mvn/version "3.12.3"}
|
clj-http/clj-http {:mvn/version "3.12.3"}
|
||||||
hickory/hickory {:mvn/version "0.7.1"}}
|
hickory/hickory {:mvn/version "0.7.1"}
|
||||||
|
re-graph/re-graph {:mvn/version "0.2.0"}}
|
||||||
:aliases
|
:aliases
|
||||||
{:run-m {:main-opts ["-m" "com-jakewindle-git.scraper"]}
|
{:run-m {:main-opts ["-m" "com-jakewindle-git.scraper"]}
|
||||||
:run-x {:ns-default com-jakewindle-git.scraper
|
:run-x {:ns-default com-jakewindle-git.scraper
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
(def stat-urls ["https://www.espn.com/nfl/stats/team/_/season/2011/seasontype/2"
|
(def stat-urls ["https://www.espn.com/nfl/stats/team/_/season/2011/seasontype/2"
|
||||||
"https://stats.premierlacrosseleague.com/games/2022/whipsnakes-chaos-2022-6-04"])
|
"https://stats.premierlacrosseleague.com/games/2022/whipsnakes-chaos-2022-6-04"])
|
||||||
|
|
||||||
|
;; NOTE - the PLL GraphQL API can be found here: https://api.stats.premierlacrosseleague.com/graphql
|
||||||
|
;; use this as your query endpoint
|
||||||
|
|
||||||
(defn not-nil [v]
|
(defn not-nil [v]
|
||||||
(not (nil? v)))
|
(not (nil? v)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user