https://github.com/lumamontes/wbb-games-api
API for fetching WNBA and NCAAWBB schedules
https://github.com/lumamontes/wbb-games-api
basketball javascript ncaa wnba
Last synced: about 1 month ago
JSON representation
API for fetching WNBA and NCAAWBB schedules
- Host: GitHub
- URL: https://github.com/lumamontes/wbb-games-api
- Owner: lumamontes
- Created: 2023-12-31T07:56:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-31T08:47:02.000Z (over 1 year ago)
- Last Synced: 2025-02-17T09:14:28.417Z (4 months ago)
- Topics: basketball, javascript, ncaa, wnba
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WNBA and NCAAW Schedule API

This project is an simple API for returning WNBA and NCAAW schedules! The API fetches data from external sources and provides access to the processed data.
## Built With
- [Node.js](https://nodejs.org/)
- [Express.js](https://expressjs.com/)
## Getting Started### Prerequisites
- Node.js
- npm### Installing
1. Clone the repository:
```bash
git clone https://github.com/lumamontes/wbb-games-api.git
```
2. Navigate into the directory:
```bash
cd wbb-games-api
```
3. Install the dependencies:
```bash
npm install
```## Usage
Start the local server:
```bash
npm run dev
```## API Endpoints
- `GET /schedule`: Fetches the schedule for a given date and league. The league defaults to "ncaaw" and the date for today.
Query parameters:
- `year`: The year of the schedule you want to fetch. Example: `2022`.
- `month`: The month of the schedule you want to fetch. Example: `07`.
- `day`: The day of the schedule you want to fetch. Example: `15`.
- `league`: The league of the schedule you want to fetch. It can be either `ncaaw` or `wnba`, defaulting to `ncaaw`.**Example**: GET /schedule?year=2022&month=07&day=15&league=ncaaw
Any changes/suggestions are welcome :)