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

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

1.4.4 #

  • πŸ“ Update README to include up to date kulliyyah list. Related issue #12

1.4.3 #

  • ✨ Parse time with colon format. Example: 10:30 - 11:30 AM
  • ⬆️ Upgrade dependencies

1.4.2 #

  • πŸ› Fixes error that occured when subject doesn't have time info. Fixes issue #11

1.4.1 #

  • πŸ› Fix issue where some compounded days format (eg: TWTH) could not be parse. See #8, #10
  • ✏️ Update some classes documentation

1.4.0 #

  • ⬆️ Upgrade package http to 1.1.0 (upgrade major version, might be breaking changes)

1.3.0 #

  • ⬆️ Upgrade to Dart 3
  • ✨ The .fetch() method now returns a records of list of Subjects & total pages available. #6
  • πŸ› Added new case for rare day parsing. #1

1.2.4 #

  • πŸ› Fixed another bug related to parsing subject day & time. Refer #1 (Comment)

1.2.3 #

  • πŸ› Fixed issue where albiruni cannot parse some day format. Refer #1 (Comment)

1.2.2 #

  • ⬆️ Bump intl to ^0.18.0
  • πŸ“ Add some dartdoc

1.2.1 #

  • πŸ› Fixed the parser to parse days like MTWTHF and MTWTH. Refer #1.
  • βœ… Add more tests

1.2.0 #

  • ✨ Added support for fetching postgraduate studies. Just set the studyGrade parameter in Albiruni to StudyGrade.pg.

1.1.7 #

  • πŸ”§ Hide internal classes. eg: TempDayTime
  • βœ… Add test files

1.1.6 #

  • 🚚 Migrate proxy server to another provider. This is due to Heroku is planned to end its free plan that were use to host the cors-anywhere proxy instance.
  • πŸ“ Changed to MIT license
  • β˜• Added funding

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
160
points
185
downloads

Publisher

verified publisheriqfareez.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#scraper #iium

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

html, http, intl

More

Packages that depend on albiruni