An attempt to modernize UPN "Veteran" Jawa Timur's SIAMIK with REST-compliant interface. All data provided by this API is scraped from SIAMIK's miserable webpage.
Due to captcha implementation at SIAMIK's login section, I cannot provide any data behind the login page.
- GET
<host>:<port>/api/v1/pengumuman
: Show all pengumuman from 2022 pengumuman group (https://siamik.upnjatim.ac.id/html/siamik/umum.asp) - GET
<host>:<port>/api/v1/kelas
: Show list of majors with links to each major's regular classes - GET
<host>:<port>/api/v1/kelas/reguler?id=<id>
: Show list of classes from selected major. Requires query of string format which can be obtained from the endpoint prior to this one. - GET
<host>:<port>/api/v1/kelas/reguler/detail?kelas=<kelas>&prodi=<prodi>&kode=<kode>
: Shows list of students within a class. Requires queries of string format which can be obtained from the endpoint prior to this one.
This (faisal01h/siamik-next) repository contains a live demonstration of this API using Next.js frontend with client-side rendering.
You can also watch this code in action here or the usable one with the client-side here.
This repository uses the MIT License.
You are free and in fact, encouraged to fork this project and better yet, contribute back to this project by making a pull request 😉