Giter Site home page Giter Site logo

ap-api's People

Contributors

abc873693 avatar evans9610 avatar hearsilent avatar john-thunder avatar louisom avatar mlouielu avatar registerautumn avatar takidog avatar whyayen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ap-api's Issues

獲得期中預警

GET /user/midterm-alerts
期中預警
可以跨學期取得期中預警

獲得校車時間表

GET /bus/timetables

查詢該使用者指定時間的校車列表


(已完成)
時間表若沒有做任何更動(新預約、取消預約 等等)
會在Redis 儲存短暫時間來減少向學校查詢的次數

獲得課表

GET /user/coursetable

獲得使用者課表包含修課列表

可以跨學期獲取

登入部分

POST /oauth/token
登入 v3 API

DELETE /oauth/token
刪除單次登入token

DELETE /oauth/token/all
刪除所有已登入token

獲得學期成績

GET /user/scores
得到學期成績 (修課列表、期中分數、期末分數、班排等等)

可以跨學期獲取學期成績

請假申請

POST /leaves/submit

向導師請假
需要把檔案上傳製作完成

獲取校務通最新消息

GET /news/announcements
GET /news/announcements/{id}
GET /news/announcements/all

後端儲存續用Sqlite,增新修改刪除後續透過API完成
文件規格須補上

Leave submit need fixed

There is a huge problem in special case on leave submit.
And need help on this.

If you are interesting on this, contact me for more information.

kuas 10401 schedules

[{'events': ['(9/14)日間部、進修推廣處開學'], 'week':'第一週'}, {'events': ['(9/28)補假一天(補 9/27 中秋節)'], 'week': '第三週'}, {'events': ['(10/9)補假一天(補 10/10 國慶日)'], 'week': '第四週'}, {'events': ['(10/25)校運會','(10/29)校運會補假ㄧ天','(10/30)校慶放假一天'], 'week': '第七週'}, {'events': ['(11/911/14)日間部、進修推廣處期中考試'], 'week': '第九週'}, {'events': ['(1/1)開國紀念日放假ㄧ天'], 'week': '第十六週'}, {'events': ['(1/91/15)日間部、進修推廣處期末考試'], 'week': '第十八週'}, {'events': ['(1/30)補行上班'], 'week': '第十週'}, {'events': ['(11/26) 燕巢 三合一選舉', '(11/27) 建工 三合一選舉'], 'week': '寒假'}];

獲得使用者資料

GET /user/info
獲得使用者在校務系統的資料,包含個人大頭照url

獲得學期列表

GET /user/semesters

獲得所有學期列表,以及目前日期的學期

GET /user/graduation-threshold

畢業門檻查詢
雖然在校務系統內,但是連結為ength.kuas.edu.tw

校務系統 透過func.php 獲取 ength.kuas.edu.tw cookies

跟其餘的ap query 方法不一樣,先暫時擱置等待其他解法(或是硬A)

AP endpoints ?

How to design /v2/ap functions endpoints?

e.g. GET course timetable (學期課表) and GET club activate history (社團活動紀錄)

GET /v2/ap/course_timetable (課表)
GET /v2/ap/students/course_timetable (學務/課表)
GET /v2/ap/students/queries/course_timetable (學務/查詢/課表)
GET /v2/ap/queries/course_timetable (查詢/課表)
GET /v2/ap/quieries/students/course_timetable (查詢/學務/課表)

GET /v2/ap/club_history (社團活動紀錄)
GET /v2/acadimics/club_history (教務/社團活動紀錄)
GET /v2/ap/acadimics/queries/club_history (教務/查詢/社團活動紀錄)
GET /v2/ap/queries/club_history (查詢/社團活動紀錄)
GET /v2/ap/queries/academics/club_history (查詢/教務/社團活動紀錄)

No docstring in ap

We need some help for adding docstring in /src/views/v2/ap.py endpoints

You can see /src/views/v2/bus.py for some example

Certbot auto renew

  1. sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT
  2. ./certbot-auto certonly -a webroot --webroot-path=/var/www/html -d kuas.grd.idv.tw

Docs build failed

Error Message:
ImportError: No module named flask.ext.compress

We need to change the module name in sphinx 1.5.3 (default version on readthedocs)
Use flask_compress instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.