albiruni 1.0.2 copy "albiruni: ^1.0.2" to clipboard
albiruni: ^1.0.2 copied to clipboard

outdated

A wrapper to easily access IIUM's Course Schedule website data.

badge

A wrapper to easily access IIUM's Course Schedule website data.

Thank you @PlashSpeed-Aiman for the code foundation.

Features #

  • Get a list of subjects for ECONS kulliyyah for semester 1, 2020/2021 session:

    // Create albiruni instance
    Albiruni albiruni = Albiruni(kulliyah: "ECONS", semester: 1, session: "2020/2021");
    // Use methods available in the classes
    var subjects = await albiruni.fetch();
    
  • To filter/search for a particular subject, use the course parameter.

    fetch(course: "ECON 1140");
    
  • Be creative. Let say you want to filter the courses for third year subjects only.

    fetch(course: "CCUB 3");
    
  • If you receiving input from user, it is recommended to use .toAlbiruniFormat() method.

    userInput = "ccub2621";
    fetch(course: userInput.toAlbiruniFormat());
    
  • Get that XMLHttpRequest again? Urgh. Fear no more, set useProxy to true. (Implemented using cors-anywhere)

    fetch(course: "MCTE 3271", useProxy: true);
    
  • I think that's it for the basic usage of this library, of course, you can always discover more. You can drop your enquiries in issues if you have any.

More example can be found in /example folder.

Additional information #

1
likes
0
pub points
31%
popularity

Publisher

verified publisheriqfareez.com

A wrapper to easily access IIUM's Course Schedule website data.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

html, http, intl

More

Packages that depend on albiruni