Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
This project was created by me (Kyle Pfromer) and has no endorsement by the University of Colorado.
npm install --save cu-api
yarn add cu-api
The api code is written with TypeScript, but also works with JavaScript (typings are included).
Create a session and login. Then get all the data you need with the session (the session acts as a logged in user, saving time).
import { CUSession } from 'cu-api';
(async function () {
const session = new CUSession();
await session.init('username', 'password');
console.log(session.loggedIn);
console.log(await session.userData());
console.log(await session.termData());
console.log(await session.GPA());
console.log(await session.classTermData('2201'));
})();
const CUSession = require('cu-api').CUSession;
(async function () {
const session = new CUSession();
await session.init('username', 'password');
console.log(session.loggedIn);
console.log(await session.userData());
console.log(await session.termData());
console.log(await session.GPA());
console.log(await session.classTermData('2201'));
})();
cu-api
uses superagent
a http request library to act like a user and login
(the CU login process is really convoluted). When logged in it accesses the
backend API used by the buffportal
Angular application to grab the data you
need. You have access to everything the buffportal
has access to!
You must have nodejs installed. This will not work on the browser since I had to self sign a certificate for buffportal
.
cu-api
is MIT licensed.
FAQs
An api for CU Boulder students.
The npm package cu-api receives a total of 0 weekly downloads. As such, cu-api popularity was classified as not popular.
We found that cu-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.