Skip to content

lumamontes/wbb-games-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WNBA and NCAAW Schedule API

image

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

Getting Started

Prerequisites

  • Node.js
  • npm

Installing

  1. Clone the repository:
git clone https://github.com/lumamontes/wbb-games-api.git
  1. Navigate into the directory:
cd wbb-games-api
  1. Install the dependencies:
npm install

Usage

Start the local server:

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 :)

About

API for fetching WNBA and NCAAWBB schedules

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published