Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.61 KB

README.md

File metadata and controls

63 lines (39 loc) · 1.61 KB

CheckMyResult

A helper program that scraps and emails results from Anna University servers during high traffic concurrently.

What does this do?

This program takes a JSON array of student's register number with their email ID, fetches their result and emails them. This is useful since the servers are usually overloaded during when the results come out and this program uses a retry function when the request results in an error. This works concurrently and hence is efficient when fetching for multiple students.

Dependencies

Installation

  1. Install Golang

  2. Clone this repository

    $ git clone https://github.com/AravindVasudev/CheckMyResult.git
    $ cd CheckMyResult
  1. Install all dependencies
    $ go get ./...
  1. Build the project
    $ go build .
  1. Create email_smtp.json with your stmp server details
    $ echo "{\"emailID\": \"email@example.com\",\"password\": \"password\",\"server\": \"smtp.gmail.com\"}" > email_smtp.json
  1. Create students.json with all the student details
    $ echo "[{\"registerNumber\": \"123456789\", \"emailID\": \"email@example.com\"}]" > students.json
  1. Run the binary
    $ ./CheckMyResult

Contribute

You are always welcome to open an issue or provide a pull-request!

License

Built under MIT license.