【文件属性】:
文件名称:USC-Class-Notifier-API:重写https
文件大小:603KB
文件格式:ZIP
更新时间:2021-04-29 21:24:35
JavaScript
USC类通知程序API
USC类通知程序API是一种免费使用的Web API,用于通知USC每个部分中可用的点数。 它使用Express作为服务器,使用MongoDB作为数据库,并能够根据需要发送电子邮件。 通过要求使用电子邮件身份验证,它还保留了安全性(对于这种性质的项目来说绰绰有余)。
使用API
soc只有三个端点。 这项服务对所有开发者开放,只要他们遵守速率限制和许可。
登记
终点
参数
邮政: email, courseid, department, phone
AJAX POST请求示例如下所示:
$.ajax({
method: 'POST',
url: "https://jldc.me/soc/notify",
type: 'json',
data: {
email: email,
courseid:
【文件预览】:
USC-Class-Notifier-API-master
----.gitignore(144B)
----README.md(10KB)
----views()
--------verify.ejs(5KB)
--------admin.ejs(4KB)
--------landing.ejs(1KB)
--------error.ejs(83B)
----bin()
--------www(2KB)
----public()
--------css()
--------fonts()
--------img()
--------js()
--------data()
----server()
--------routes()
--------utils()
--------app.js(1KB)
--------models()
--------scripts()
--------config()
--------core()
--------controllers()
----package.json(967B)
----renovate.json(33B)
----pm2.config.js(341B)
----.snyk(16KB)
----yarn.lock(245KB)