Closed itachi1706 closed 5 years ago
If it doesn't work we need to see if we can somehow hijack the login token. If we can do that it can replace the login instead
Some basic packets are saved on the NAS. Review them I guess
Actually check if all we need is the access token. If so we can just request for that instead of doing the whole login flow (cause I'm lazy and this is more for expert use)
Okay, we are able to retrieve stuff as long as we have the authorization token. An API endpoint is created to retrieve said information. So for now we will just use said token to get the synchronization data. Need to get a way to easily obtain said token but maybe in the future we will use OAuth. for now this is sufficient
http://api.itachi1706.com/api/mobile/msl_api.php?authorization=<token>
Easy way to obtain token. 1) Login to the website with a browser 2) Access Local Storage on the browser's developer tools (Chrome: F12->Application->Local Storage, Firefox: F12->Storage->Local Storage) 3) Access token is found with key "_"
Event IDs will be in this format so that we can retrieve it at the end
msl-<task/exam guid>
Also reminders should be removed if the task is completed (100%)
Handle this
{
"error": "access_token_expired",
"error_message": "Thesupplied access token has expired or marked as void.",
"error_detail": null
}
Handle this
{ "error": "access_token_expired", "error_message": "Thesupplied access token has expired or marked as void.", "error_detail": null }
Resolved
Event IDs will be in this format so that we can retrieve it at the end
msl-<task/exam guid>
Also reminders should be removed if the task is completed (100%)
Implemented
Moved sync schedule feature to a future request (#260)
As soon as PR completes we can merge this 😄
Check if it is viable to integrate with MSL School Planning app that I'm using so that it can sync with GCal and basically everything else
Exploration Phase (if it works we can go ahead)
Implementation
[<State %>] <Task>
)Sent from my LG G7 ThinQ using FastHub