This is a simple API to fetch results for WBSCTE Diploma Students from the official website. It scrapes the data and presents it in a structured JSON format.
Disclaimer: This is just a time-pass project, built for fun and learning. I have no idea if this is legal or not, so please don’t sue me! 🥺🤕
- Accepts registration number via POST request. Fetches student results from the WBSCTE official result portal.
- Returns a clean JSON with student details, - subject-wise grades, and GPA.
- Strictly for WBSCTE Diploma Students.
- If you’re not a WBSCTE student — you’re just here for the code, aren't you? 😉
- 🤔 I don't know. Who thinks about usecases for a time-pass project? 😂
git clone https://github.com/pshycodr/WBSCTE-Result-API.git
# Install dependencies
npm install
npm install -g serverless
export AWS_ACCESS_KEY=
export AWS_SECRET_ACCESS_KEY=
serverless deploy
# Your API endpoint will be shown in the terminal
add your registration number in event.json
file and run the following command
serverless invoke local -f getResult --path event.json
Send a POST request with this Body
{
"reg_no" : "your reg. no.",
"ph_no" : "your phone number"
}
- Node.js (Serverless Functions)
- AWS Lambda (Hosting)
- Axios (HTTP Requests)
- Cheerio (Web Scraping)
- This only works for WBSCTE Diploma students.
- If the website changes its structure, this might break.
- Use this responsibly, I take no responsibility for how you use it! 😎
No license, because I don’t even know if this should exist. 😂