untis 0.2.0-alpha.5 copy "untis: ^0.2.0-alpha.5" to clipboard
untis: ^0.2.0-alpha.5 copied to clipboard

This package allows you to parse Untis's HTML.

0.2.0-alpha.5 #

  • Replaced dayFromInt, dayToInt, matchDay and DayImpl with methods on Day (thanks Dart 2.17!)
  • Added saturday and sunday to Day
  • Replaced the number parsing algorithm with a simpler one that should always yield the same results
  • Renamed Page.parsePage to Page.parse
  • Removed WhereNotNull (use package:where_not_null instead)
  • Substitutions are only Comparable<Substitution> now
  • Days are Comparable<Day?> now
  • Documentation improvements
  • Better testing, using tested 1
  • dart 3.
  • lints 5.

0.1.1 #

  • Optimized Page.parsePage
  • Upgraded to html_search 0.3

0.1.0 #

  • Initial attempt at making a DSB-independent Untis parser
  • Renamed PlanPage
  • Added UnknownDayException to throw from Day.match/matchDay
  • Removed the isFree attribute from Substitution and made it a getter instead
  • Added the date to the toString of Page (why wasn't it there?!)
  • Fixed some incorrect tests (oh god)
  • Fixed parser throwing when the raw lesson doesn't end with a letter
  • Introduced the new Parser/ParserBuilder API to allow for smarter parsing
  • Removed Page.toJsonString, Page.fromJsonString
  • Made Substitution.raw more robust to empty classes
  • Made searching through Pages an extension
0
likes
130
points
29
downloads

Publisher

verified publisherampless.chrissx.de

Weekly Downloads

This package allows you to parse Untis's HTML.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

html, html_search, html_unescape, where_not_null

More

Packages that depend on untis