Skip to content

Instantly share code, notes, and snippets.

View sTiKyt's full-sized avatar
🏢

sTiKyt

🏢
View GitHub Profile
@modelmat
modelmat / _classes_output.json
Last active October 24, 2024 05:25
A simple API for My Study Life application
{
"academic_years":[
{
"created_at":"2018-08-11T11:35:29",
"deleted_at":null,
"end_date":"2018-12-19",
"guid":"2adeab27-b77d-40e8-b5c6-48ff699833ef",
"holidays":[
],
((async (startPage = 0, autoClearConsole = true) => {
const getCookie = (name) => {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();
};
const callCacheApi = async (params = {}) => {
const defaultParams = {