korea-science-academy
v1.2.0
Published
Utitlity library for KSA students
Downloads
12
Readme
Korea Science Academy
Utitlity library for KSA students
Basic usage
import { Ksa } from '../src/ksa';
const ksa = new Ksa();
const url = ksa.students.image.getUrl('11-001'); // get student image url for `11-001`
console.log('Profile image of 11-001:', url);
ksa.students.image.download({ studentId: '12-001' }); // download student image for `12-001`
ksa.students.image.downloadAll({ year: 2013 }); // download all student images for `13-xxx`
Quick start
# clone the repo
git clone https://github.com/thilllon/korea-science-academy.git ksa
# change a directory
cd ksa
# install all dependencies
pnpm install
# and build
pnpm build
cd example # and change a directory to example
pnpm start # install dependencies and start example case