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 link above 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's fetch function.

As of 7/8/2024, the kulliyyah available are as follows:

(index)KeyValue
0IRKHSAHAS KIRKHS
1KAHSALLIED HEALTH SCIENCES
2AEDARCHITECTURE
3BRIDGBRIDGING PROGRAMME
4CFLCELPAD
5CCACCOCU
6DENTDENTISTRY
7EDUCEDUCATION
8ENGINENGIN
9ECONSENMS
10KICTICT
11IHARTINTERNATIONAL INSTITUTE FOR HALAL RESEARCH AND TRAINING
12IIBFISLAMIC BANKING AND FINANCE
13ISTACISTAC
14KLMKSTCL KLM
15LAWSLAWS
16MEDICMEDICINE
17NURSNURSING
18PHARMPHARMACY
19PLNETPLANETARY SURVIVAL FOR SUSTAINABLE WELL-BEING
20KOSSCIENCE
21SC4SHSEJAHTERA 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