Public API for clj-baseball.
Public API for clj-baseball.
(league-batting start-date end-date)
Return the league batting stats from Baseball Reference between start-date
and end-date
.
Return the league batting stats from Baseball Reference between `start-date` and `end-date`.
(mlb-player-id-lookup params)
Lookup the MLBID of a player (active or otherwise) in the Chadwick Bureau register.
Lookup the MLBID of a player (active or otherwise) in the Chadwick Bureau register.
(statcast params)
Send a query to the Statcast endpoint. Useful keys are:
:hfTeam
, :game-date-lt
, :game-date-gt
.
Send a query to the Statcast endpoint. Useful keys are: `:hfTeam`, `:game-date-lt`, `:game-date-gt`.
(team-batting team start-date end-date)
Return the given team
's batting stats from Baseball Reference between start-date
and end-date
.
Return the given `team`'s batting stats from Baseball Reference between `start-date` and `end-date`.
(team-fielding team start-date end-date)
Return the given team
's fielding stats from Baseball Reference between start-date
and end-date
.
Return the given `team`'s fielding stats from Baseball Reference between `start-date` and `end-date`.
(team-pitching team start-date end-date)
Return the given team
's pitching stats from Baseball Reference between start-date
and end-date
.
Return the given `team`'s pitching stats from Baseball Reference between `start-date` and `end-date`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close