From e949dcdb6b22ceeb4b91569fcbcec083bb490377 Mon Sep 17 00:00:00 2001 From: todd Date: Fri, 1 Nov 2024 16:28:34 -0400 Subject: [PATCH] enh: stats endpoint supports startDate and endDate parameters ver: 1.8.1 --- statsapi/endpoints.py | 2 ++ statsapi/version.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/statsapi/endpoints.py b/statsapi/endpoints.py index 672de20..393e93f 100644 --- a/statsapi/endpoints.py +++ b/statsapi/endpoints.py @@ -988,6 +988,8 @@ "fields", "personId", "metrics", + "startDate", + "endDate", ], "required_params": [["stats", "group"]], "note": "If no limit is specified, the response will be limited to 50 records.", diff --git a/statsapi/version.py b/statsapi/version.py index 5f4fc6a..d5be6bf 100644 --- a/statsapi/version.py +++ b/statsapi/version.py @@ -1,3 +1,3 @@ #!/usr/bin/env python -VERSION = "1.8" +VERSION = "1.8.1"