Skip to content

Stats endpoint supports startDate and endDate parameters #148

@vile319

Description

@vile319

Hi Todd,
.get does not properly apply startDate and endDate. It only does, for example, https://statsapi.mlb.com/api/v1/stats?group=hitting&season=2024&stats=byDateRange

where it should instead be doing:
https://statsapi.mlb.com/api/v1/stats?group=hitting&season=2024&stats=byDateRange&startDate=07/03/2024&endDate=07/10/2024

Let me know if you need more clarification.

Thanks!
Vile
image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions