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

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

1.1.5 #

  • 📝 Update README to provide a clearer documentation.

1.1.4 #

  • 🐛 Fix sesShort formatting that wrongly return semester value.

1.1.3 #

  • ✏️ Rename Albiruni parameter semShort to sesShort.

1.1.2 #

  • 💥 BREAKING CHANGES - .read (on DayTime) and .data (on Subject) getter is removed. Added .toString() overrides on both.
  • Added .toJson() and .fromJson() on both Subject and DayTime class.

1.1.0 #

  • 💥 BREAKING CHANGES - Kuliyyah parameter now is seperated from the albiruni constructor.
    • Before:
    var albiruni = Albiruni(kulliyah: "AED", semester: 2, session: "2021/2022");
    var subjects = await albiruni.fetch();
    
    • After:
    var albiruni = Albiruni(semester: 2, session: "2021/2022");
    var subjects = await albiruni.fetch("AED");
    

1.0.2 #

  • 🙈 When fetching subject, you now can set useProxy to true. This will proxy the connection from albiruni origin site. Useful when dealing with CORS error in web application.
  • 🚸 Exposes DayTime class.
  • ✨ Introduce String extension method toAlbiruniFormat(). Useful to properly format a user input. Eg: It will convert nurc2411 to NURC 2411.
  • 🥅 Added Exception type
    • EmptyBodyException. Usually happen when subject is not offered for the kuliyyah/session semester. Eg: You search for MECH 2344 in Semester 3, but course is only available in long semester. Therefore, error is thrown.
    • NoSubjectsException. Usually happens when page is over it total pages.
  • ✨ For Subject object:
    • Added .semShort value. A short version of year session. Eg: 2021/2022 will be 21/22.
    • .dayTime now will be return a sorted session according to its day. Ie: Monday should come first and so on.
  • 📝 Update docs.

1.0.0 #

  • 🎉 Initial release.
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