ncaa_data_rs

Crates.ioncaa_data_rs
lib.rsncaa_data_rs
version0.2.1
sourcesrc
created_at2024-02-11 17:59:05.133498
updated_at2024-03-21 03:49:40.190614
descriptionTools for fetching and handling NCAA data for multiple sports.
homepagehttps://gitlab.com/flynneva/ncaa-data-rs.git
repositoryhttps://gitlab.com/flynneva/ncaa-data-rs.git
max_upload_size
id1135984
size79,705
Evan Flynn (flynneva)

documentation

https://gitlab.com/flynneva/ncaa-data-rs.git

README

ncaa-data-rs

Rust crate for fetching and parsing data from data.ncaa.com. Optionally this crate could also be used to create a postgresql database extension using the same NCAA data structures. This can be useful to collect and store data to do further processing.

Getting started

Assuming you already have Rust installed, simply clone and install:

git clone git@gitlab.com:flynneva/ncaa-data-rs.git
cd ncaa-data-rs/
cargo install --paths .

After installation you should now have the CLI app ncaa_data_rs installed:

ncaa_data_rs --help

Which should provide some useful functions / features for you to use.

To build and test:

cd ncaa-data-rs/
cargo build
cargo test

postgresql extension

This repository also provides a postgresql extension to make it super easy to create a postgresql database. This extension exposes the custom NCAA data types to the postgresql.

To build the postgresql extension:

cargo pgx init
cargo pgx new ncaa_data_rs

To run the extension, simply specify which postgresql version you want to use:

cargo pgx run pg13

Read more on pgx in the documentation.

Commit count: 24

cargo fmt