{"_id":"gradebook","_rev":"30-8d4ce0d9fd3d5c44f6ab25e895e33543","name":"gradebook","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"gradebook","version":"0.0.1","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.1","dist":{"shasum":"3a38941072e146cf4e41ba72d7c294ca911268ff","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.1.tgz","integrity":"sha512-XO42G4FIQKFwUEQ1zd6Rsp10dxQbpbAr6O2AI5zE5yPlvfhS/o9v1eyq19Ev/2St4styk06fCUUdCRh1S4pSwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJTprBej/IRxo3+XaJgeeUcx7sL8zX7iCX/3nm7RdgkAiEA97hF+jKD70gbpQbfdHhVhw+Jxchs2eWq7kjejlEen+I="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.0.2":{"name":"gradebook","version":"0.0.2","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.2","dist":{"shasum":"ebcb77f5445876d86b7111623f51df919716fc7d","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.2.tgz","integrity":"sha512-6xNI1A4Xv60V2suGR02mSjwDmZ2Hg6admJsKlkMvPxfQTmR8Ol57VTsWyEI+fCmjCtqGguvponMqSo0Zmr4xtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD989+zi9Fokj6asvyKNrs1VxooYUMJ51S0HwU7cz3C+AIhAOcTcGW2U1i/j/Hrbv9wurq169DJvGt6ad6NrXOj7qfM"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.0.3":{"name":"gradebook","version":"0.0.3","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.3","dist":{"shasum":"5590b7adbb77b350431a7ea3ecce31e4d95767b4","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.3.tgz","integrity":"sha512-yVPt8lTDKOu5Cj7ZxRt4sN5eycnLDucdiFGbyuG5cr3ZoXEYA0xMAPaafTpti7h4VjlPVKKyLBUiM0p4gl8g0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqucKYPIuvq5+p7KTWYQMS4/VZfCRnBEa/qWMuouFrZAiAAvL78OUO7BXG4v4xhZhoGdzdzkcKdU9eOfWOtgWygUA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.0.4":{"name":"gradebook","version":"0.0.4","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.4","dist":{"shasum":"77c70ed365119ec92058ca525d6e1540c7c3f300","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.4.tgz","integrity":"sha512-N/yNB/WByxPme8v3s7j0C5FAvRGDV9oma5bbyHHaobPsj6y8Vlyrx1+Fz9lEzeBN6YMTMxq22Me3lBEo+WIwcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLr43jlP5fgtLrzTcxhKgDxtm6oEBEl++x/P/vnRWv5QIgKssGzPbDufQ8ci1IQHx8GTeM/5y0BITeDHZ0bB3F0ic="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.0.5":{"name":"gradebook","version":"0.0.5","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.5","dist":{"shasum":"e3d2b622ac6578e1dcafb02ee3c93f296430ab14","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.5.tgz","integrity":"sha512-23BPfD9ovrHLDlnBVSFHbZjuuR898K4I55288fCUIRCXgGIAumwIzgwlokQ91tqZOoAPSQTYmoJ/WQK1kZo/xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8OHCmIMXNbiKX41mzN2uLIdKFjIt4PptqQXxaGFOc1AiEAlugWzAG00nOS750yFkykPn/DTR3sX3fPmPZyRwKOdyQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.0.6":{"name":"gradebook","version":"0.0.6","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.0.6","dist":{"shasum":"4b73909cbcb7d78092ea22d1ed71ab085d78d696","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.0.6.tgz","integrity":"sha512-GOlhqzKFRENCWUVR+/Q/vGRLT+HXBXBP8d7vhhsKnQdZHWyzN56I6QtLWfDUw64RGE0GMcLnYnOE2AF4SkYdwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNd6bBUmjZ+FyVfM+Hlqg/6sIeRQ7h4LNsrdJgjUG9pwIgM/xZjwrs1A2ORa8DnA+yjaV5i3lgKZALidftmgJeY0Q="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.1.0":{"name":"gradebook","version":"0.1.0","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.1.0","dist":{"shasum":"5e52736bb40a9ca909f1dc0749bd821b4ad5f973","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.1.0.tgz","integrity":"sha512-T3K6x5rcO7ojIDiEE8o9FOoVvKtvdwsvZo/Ze8UuFlmk7qNRDZ5HXZbz4Kh57wN2AXGy0X/p+cQLYn1xRM8Nbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASAi9iSrPQs+AHvzyHr32HkXdwm/pofU/3u32ENZv+iAiBuyhDuOl7Y9sYI3kXdk13cG3NwD2xJngSOpKRDm0AJxA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]},"0.2.1":{"name":"gradebook","version":"0.2.1","description":"Used to log a user into to the bsd405 gradebook and retrive their grade information","keywords":["gradebook","grades"],"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"main":"gradebook.js","dependencies":{"request":"~2.31.0","cheerio":">= 0.13.1","async":">=0.2.9"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"1.17.x"},"_id":"gradebook@0.2.1","dist":{"shasum":"4e4757b3140246e1a49291939b80e24eb2771479","tarball":"https://registry.npmjs.org/gradebook/-/gradebook-0.2.1.tgz","integrity":"sha512-+dqaPVrkHL3jtJDp6FsBeRCd+S7ySZDUmTS9tWLBPdDoXUN+Fs/KUhK9MKxO4UFWjoyWz7gdQWomUJMP2qnrxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn91iiMqPOU+FH3GVGqotqEx3AtOfzuhPC5uYr1yw7HwIgOkxrhJQD1Mx3Tlh4Qat8OuBNCiU4+dNULJCIk20lEjU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"henguin1001","email":"henguin1001@gmail.com"},"maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}]}},"readme":"A node module allowing for access to the Bellevue School District gradebook\r\n#Install it\r\nUsing npm just `npm install gradebook`\r\n# How to use it\r\n## Start a session\r\n``` js\r\nvar Gradebook = require('gradebook');\r\nvar gradebook = new Gradebook('username', 'password');\r\ngradebook.startSession(function(err){\r\n\tif(!err){\r\n\t\t// you've logged in\r\n\t}\r\n});\r\n```\r\n## Access the default page\r\nIt holds the the overdue, due, and soon to be due assignments\r\n``` js\r\nvar Gradebook = require('gradebook');\r\nvar gradebook = new Gradebook('username', 'password');\r\ngradebook.startSession(function(err){\r\n\tif(!err){\r\n\t\tgradebook.getDefault(function(err,body){\r\n\t\t\tif(!err){\r\n\t\t\t\tconsole.log(body);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n});\r\n```\r\nwould result in something like\r\n``` json\r\n{\r\n\t\"due\":[],\r\n\t\"future\":[],\r\n\t\"overdue\":[\r\n\t\t\"assignment\":\"Foo Assignment\",\r\n\t\t\"course\":\"bar class\",\r\n\t\t\"date\":\"Feb 29\"\r\n\t]\r\n}\r\n```\r\n## Access the grades page\r\nOf course it holds the user's grades\r\n``` js\r\nvar Gradebook = require('gradebook');\r\nvar gradebook = new Gradebook('username', 'password');\r\ngradebook.startSession(function(err){\r\n\tif(!err){\r\n\t\tgradebook.getGrades(function(err,body){\r\n\t\t\tif(!err){\r\n\t\t\t\tconsole.log(body);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n});\r\n```\r\nwould result in something like\r\n``` json\r\n[\r\n\t{ \r\n\t\t\"course\":\"Ap bar b\",\r\n\t\t\"period\":\"3\",\r\n\t\t\"firstSemester\":{\r\n\t\t\t\"grade\":\"A+\",\r\n\t\t\t\"url\":\"lalal\",\r\n\t\t},\r\n\t\t\"secondSemester\":undefined\r\n\t}\r\n]\r\n```\r\n## Get the assignments for each course\r\n``` js\r\nvar Gradebook = require('gradebook');\r\nvar gradebook = new Gradebook('username', 'password');\r\ngradebook.startSession(function(err){\r\n\tif(!err){\r\n\t\tgradebook.getGrades(function(err,grades){\r\n\t\t\tif(!err){\r\n\t\t\t\tgradebook.getAssignments(grades,function(err,body){\r\n\t\t\t\t\tif(!err){\r\n\t\t\t\t\t\tconsole.log(body);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n});\r\n```\r\nwould result in something like\r\n``` json\r\n[\r\n\t{ \r\n\t\t\"firstSemester\":{\r\n\t\t\t\"assignments\":[\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\":\"homework A\",\r\n\t\t\t\t\t\"grade\":\"40\",\r\n\t\t\t\t\t\"max\":\"44\",\r\n\t\t\t\t\t\"letter\":\"A\",\r\n\t\t\t\t\t\"category\":\"homework\",\r\n\t\t\t\t\t\"comments\":\"Terrible Effort\"\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"categories\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"name\": \"homework\",\r\n\t\t\t\t\t\"weight\": \"50\",\r\n\t\t\t\t\t\"points\": \"110/220\",\r\n\t\t\t\t\t\"percent\": \"50\",\r\n\t\t\t\t\t\"letter\": \"A-\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t\"secondSemester\":undefined\r\n\t}\r\n]\r\n```\r\n## End the session\r\n``` js\r\nvar Gradebook = require('gradebook');\r\nvar gradebook = new Gradebook('username', 'password');\r\ngradebook.startSession(function(err){\r\n\tgradebook.endSession();\r\n});\r\n```\r\n","maintainers":[{"name":"henguin1001","email":"henguin1001@gmail.com"}],"time":{"modified":"2022-06-18T13:46:48.822Z","created":"2014-01-18T21:29:48.351Z","0.0.1":"2014-01-18T21:29:55.852Z","0.0.2":"2014-01-19T05:56:27.745Z","0.0.3":"2014-01-19T07:44:53.547Z","0.0.4":"2014-03-02T05:52:37.218Z","0.0.5":"2014-03-02T06:19:18.510Z","0.0.6":"2014-03-02T07:37:23.152Z","0.1.0":"2014-04-08T06:28:47.555Z","0.2.1":"2015-01-08T02:38:54.035Z"},"author":{"name":"Henry Troutman","email":"henguin1001@gmail.com"},"readmeFilename":"Readme.md","keywords":["gradebook","grades"]}