{"id":20262907,"url":"https://github.com/swapnilsoni1999/gtu-api","last_synced_at":"2025-06-11T13:09:17.793Z","repository":{"id":57256519,"uuid":"298052234","full_name":"SwapnilSoni1999/gtu-api","owner":"SwapnilSoni1999","description":"Reverse Engineered GTUResults | Gujarat Technological University","archived":false,"fork":false,"pushed_at":"2021-08-26T16:22:09.000Z","size":23,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T02:07:31.888Z","etag":null,"topics":["gtu","reverse-engineering"],"latest_commit_sha":null,"homepage":"https://gturesults.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwapnilSoni1999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-23T17:56:40.000Z","updated_at":"2024-11-25T12:54:57.000Z","dependencies_parsed_at":"2022-08-25T02:30:58.526Z","dependency_job_id":null,"html_url":"https://github.com/SwapnilSoni1999/gtu-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fgtu-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fgtu-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fgtu-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fgtu-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwapnilSoni1999","download_url":"https://codeload.github.com/SwapnilSoni1999/gtu-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328162,"owners_count":21085261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtu","reverse-engineering"],"created_at":"2024-11-14T11:32:29.153Z","updated_at":"2025-04-11T02:07:39.099Z","avatar_url":"https://github.com/SwapnilSoni1999.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GTU Results App Reverse Engineered!\n\n\u003e **DISCLAIMER: THIS REPO IS FOR EDUCATION PURPOSE ONLY. PLEASE DO NOT MISUSE IT.**\n\n### What is this?\nIt is a implementation of the chain requests made by GTUResults [android application](https://play.google.com/store/apps/details?id=com.gtu.result.gturesult). Which can be easily traced with WireShark or any http trcaker. This is the wrapper library to request on GTU's private api servers and get your result information. This is **not any kind of hacking or data stealing**. \n\n## Installation\n\n- You can install from [npm registery](https://www.npmjs.com/package/gtu-api).\n\n```sh\nnpm install gtu-api\n```\n\n## How to use\n\nThe main (entry) file contains GTUResults class you can require/import file and use it.\n\n- Here is an Example code.\n```js\nconst GTU = require('./gtu')\n\nasync function main() {\n    //to get available sessions\n    const sessions = await GTU.getSessions()\n    console.log(sessions)\n\n    // select summer 2020\n    const summer2020 = sessions.find(v =\u003e v.ExSession == 'S2020')\n\n    // get branches associated with summer 2020\n    const branches = await GTU.getCourse(summer2020.ExSession)\n    console.log(branches)\n\n    // select BE\n    const BE = branches.find(v =\u003e v.branchShort == 'BE')\n\n    // get exams for BE in summer 2020\n    const exams = await GTU.getExam(summer2020.ExSession, BE.branchShort)\n    console.log(exams)\n    \n    // select exam number 2466 which is for BE 4th sem remedial summer 2020\n    const examId = exams.find(v =\u003e v.examid == '2466')\n\n    // fetch result with enrollment number and examId\n    const result = await GTU.fromEnrollment('\u003cyour enrollment\u003e', examId.examid)\n    console.log(result)\n}\n\nmain()\n```\n\n#### Implementation\n- [here](https://gturesults.net) is an implementation of the given module.\n\n##### IMPORTANT NOTE\n\u003e ON gturesults.in THEY HAVEN'T MENTIONED ANY TERMS AND CONDITIONS FOR API. I AM ALSO USING THEIR PRIVATE API JUST TO DISPLAY DATA. I'M NOT STEALING ANY INFO OR SELLING ANY KIND OF DATA. IF GTU OFFICIALS HAVE ANY KIND OF ISSUES WITH ME THEN THEY CAN MAIL ME.\n\n### Legal\nThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by GTU or any of its affiliates or subsidiaries. This is an independent and unofficial module.\n\n## License\n\u0026copy; Swapnil Soni | MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsoni1999%2Fgtu-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswapnilsoni1999%2Fgtu-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsoni1999%2Fgtu-api/lists"}