Skip to main content

albiruni

albiruni is a scrapper wrapper for the IIUM Albiruni website so you won't be messing around with complicated code. Written in Dart to be easily integrated with Flutter or Dart projects.

Get started

Create/open your Flutter/Dart project, and use this package as a library.

Depend on it

Add the albiruni package to your Flutter or Dart project.

dependencies:
albiruni: <latest>

Import it

Now in your Dart code, you can use:

import 'package:albiruni/albiruni.dart';

Do read more (features, changelog, example etc.) on pub.dev.

List of available kulliyyah

The list of kulliyyah are defined from albiruni's dropdown menu.

The values might change over time. To get the latest available kulliyyah, open the above link and inspect the dropdown element in the web browser, or run the following scripts:

let trends = document.querySelector('body > form > table > tbody > tr:nth-child(2) > td:nth-child(2) > select'), i;

const data = new Map();

for (i = 0; i < trends.length; i++) {
data.set(trends[i].value, trends[i].text);
}
console.table(Array.from(data.entries()))

The key is what you supply to the albiruni constructor.

As of 31/7/2022, the kulliyyah available are as follows:

(index)KeyValue
0'KAHS''ALLIED HEALTH SCIENCES'
1'AED''ARCHITECTURE'
2'BRIDG''BRIDGING PROGRAMME'
3'CFL''CELPAD'
4'CCAC''COCU'
5'DENT''DENTISTRY'
6'EDUC''EDUCATION'
7'ENGIN''ENGIN'
8'ECONS''ENMS'
9'KICT''ICT'
10'IHART''INTERNATIONAL INSTITUTE FOR HALAL RESEARCH AND TRAINING'
11'IRKHS''IRKHS'
12'IIBF''ISLAMIC BANKING AND FINANCE'
13'ISTAC''ISTAC'
14'KLM''KLM'
15'LAWS''LAWS'
16'MEDIC''MEDICINE'
17'NURS''NURSING'
18'PHARM''PHARMACY'
19'KOS''SCIENCE'
20'SC4SH''SEJAHTERA CENTRE FOR SUSTAINABILTY AND HUMANITY'

If, for some reason that http://albiruni.iium.edu.my/myapps/StudentOnline/schedule1.php is not accessible, try using http://myapps.iium.edu.my/StudentOnline/schedule1.php

Honourable mentions

  1. asdacap/iiumschedule
  2. PlashSpeed-Aiman/IIUMCourseScheduleApp