laf-client

Version, currently 0.11 version
  • 0.1latestMay 13, 2021

github.com/lyczak/laf-client

🐆 APIs for Lafayette College student services (mirror)

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  laf-client:
    github: lyczak/laf-client
    version: ~> 0.1

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Delta Lyczak
Target
  • moodle-cli from src/moodle-cli.cr

Dependencies

Runtime Dependencies

  • crotp*github: philnash/crotp
  • myhtml*github: kostya/myhtml
  • duo-client0.1git: https://git.lyczak.net/del/duo-client.git

README

cas-api

This project automates performing certain actions with various student services at Lafayette College. Namely, this project integrates with my other project duo-client, to automate the process of signing into Lafayette's Central Authentication Service (CAS single-sign-on portal). Once CAS has been bypassed, virtually any student-service is accessible. Currently implemented here is some basic functionality that allows fetching upcoming Moodle events (assignments) from Moodle's RPC API.

This project is under heavy development and currently has rather poor code quality. As time permits, I may fix this in the future.

Usage

This project is meant to be used as a dependency to other projects. However, it can also be used simply as a CLI for fetching Moodle assignments as follows:

crystal run src/cli-cas.cr

cli-cas.cr serves as a good example of how to use the API.

Contributors