Refactored my single rust file into 3 rust files,
Implemented a feature I skipped from last time,
Finally moved my temporary test credentials into a .env file, and published my project on github
Log in to leave a comment
So I finally got the ‘diary’(schedule] parsing to work for the most part.
Now is likely the time for me to refactor my project which as of writing this has 560 lines of code in a single file. I will try to split into multiple files…
Log in to leave a comment
I finally understood how profile selection works on the api.
Despite a post request with a profile id being sent to a profile/switch endpoint, the profile selection actually is actually based on requests X-Profile-Id header. Figuring that out took way longer than expected.
Log in to leave a comment
added a working higher level GET method that checks for expired authentication and reauthenticates if needed. Had some trouble with responses being plain gibberish. It was that way because of the ‘Accept-Encoding’ header I had be the same as the one sent from a browser; removing that solved the problem
Log in to leave a comment