Coder Social home page Coder Social logo

axios's People

Contributors

zmoog avatar

Watchers

 avatar  avatar

axios's Issues

Use command and sub-commands

With the current UX, we only have one command:

$ axis list-grades 
...

But I think this is more flexible:

$ axios grades list

List class agenda

Class agenda contains items for the next few days, including:

  • topics
  • homework assignments

Here's an example:

CleanShot 2022-12-10 at 08 41 59@2x

I would love to have a command available to list them:

$ axios agenda list

Pass credentials

Right now credentials are hard coded, and it's (partially) fine because this project is just a hack.

To avoid leaking credentials (again). we should pass username and password properly.

Clean up grade list command

The grades list has minor inconsistencies I want to address to make a cleaner UX.

Here's the kind of interactions I want to have.

Setup

# User authentication
export AXIOS_USERNAME="1234"
export AXIOS_PASSWORD="whatever-it-works"
export AXIOS_CUSTOMER_ID="12345678909"

# Student — user account can have multiple students (when parents have two or more kids in the same school)
export AXIOS_STUDENT_ID="00004567" 

Basic Usage

$ axios grades list

                                                                                         Grades

  Data         Materia                      Tipo      Voto   Commento                                                                                             Docente
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  23/12/2022   ITALIANO                     Scritto   6.5    Tema in classe                                                                                       Rapalino Lara
  22/12/2022   LINGUA STRANIERA INGLESE     Orale     8,5    Interrogazione                                                                                       Barbero Daniela

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.