https://github.com/hansputera/beranicerdas-api
Just an API Wrapper for https://beranicerdas.sekolahkukeren.id (unofficial)
https://github.com/hansputera/beranicerdas-api
backend education indonesia scholarship scraping sulteng sultengprov
Last synced: 5 months ago
JSON representation
Just an API Wrapper for https://beranicerdas.sekolahkukeren.id (unofficial)
- Host: GitHub
- URL: https://github.com/hansputera/beranicerdas-api
- Owner: hansputera
- Created: 2025-04-30T21:27:07.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-01T06:18:18.000Z (5 months ago)
- Last Synced: 2025-05-01T07:22:32.640Z (5 months ago)
- Topics: backend, education, indonesia, scholarship, scraping, sulteng, sultengprov
- Language: TypeScript
- Homepage: https://beranicerdas.sekolahkukeren.id
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BeraniCerdas API Wrapper
An API Wrapper (unofficial) for https://beranicerdas.sekolahkukeren.id website
## Usage
```ts
import { BeraniCerdasAPI } from 'beranicerdas-api';const beranicerdas = new BeraniCerdasAPI();
// Or (maybe they changed the backend service DNS)
const beranicerdas = new BeraniCerdasAPI('https://newbackend.sekolahkukeren.id');// Login as user
const user = await beranicerdas.login({
username: 'use NIK as username',
password: 'put plain user password here',
});// Now, you can use 'user' to fetch profile, education, and progress
await user.fetchProfile();
await user.fetchStatus();
await user.fetchProgress();
await user.fetchEducation();// And, you can update the education, and profile
await user.updateProfile({ ... });
await user.updateEducation({ ... });// Last, logout (you cant use 'user' after doing this action)
await user.logout();// But, can I register new user? Of course.
await beranicerdas.register({ ... });
```## Soon
- Implement verification link method## License
MIT