yehya / rmp-api Goto Github PK
View Code? Open in Web Editor NEWRateMyProfessor API for browsers & Node.js servers
License: MIT License
RateMyProfessor API for browsers & Node.js servers
License: MIT License
Broke due to ratemyprofessors.com update
node_modules/rmp-api/dist/rmp-api.js:3737
out.last = names[1].trim().toLowerCase();
^
TypeError: Cannot read property 'trim' of undefined
at Object.priv.parseName (../node_modules/rmp-api/dist/rmp-api.js:3737:36)
at Object.priv.matches (../node_modules/rmp-api/dist/rmp-api.js:3745:30)
at Object. (../node_modules/rmp-api/dist/rmp-api.js:3776:36)
at exports.each (../node_modules/rmp-api/node_modules/cheerio/lib/api/traversing.js:294:24)
at Object.priv.scan (.. node ../node_modules/rmp-api/dist/rmp-api.js:3775:27)
at ../node_modules/rmp-api/dist/rmp-api.js:3842:26
at Request._callback (../node_modules/rmp-api/dist/rmp-api.js:3821:33)
at Request.self.callback (../node_modules/rmp-api/node_modules/request/request.js:200:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
Will post more details as I investigate more. happened for Baruch College
rmp.get("Timothy Purnell", callback);
causes
TypeError: Cannot read property 'replace' of undefined
on line 138 of src/main.js
A console error that has no effect on rmp-api however it would be interesting to solve:
Failed to load resource: the server responded with a status of 404 (Not Found)
You can see the error happening on the live demo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.