Notes about re-graph

main
windlejacob12 2022-09-04 21:41:07 -04:00
parent 24c5273e33
commit e4cf8b1f6e
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,8 @@
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
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
{:run-m {:main-opts ["-m" "com-jakewindle-git.scraper"]}
:run-x {:ns-default com-jakewindle-git.scraper

View File

@ -8,6 +8,9 @@
(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"])
;; 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]
(not (nil? v)))