Scolup/Linkdirecte ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript SDK for the private EcoleDirecte API that feels really easy to use from an app or bot.

I want one simple package that can log in with a username and password, handle the session automatically, deal with two factor security questions, refresh tokens, and remember the user if they want. It should expose clean methods to fetch common school data like grades, timetable, homework, messages, attendance, cloud files, and QCM, without making me manage auth tokens myself.

It should work in modern JavaScript environments, including Node, browsers, and other runtimes, and support tree shaking so people only load what they use. If needed, include browser friendly proxy support, local caching, and an offline queue for actions that can wait until later. Keep it secure, with no password storage and optional encrypted session data.

Please set up the package, examples, and tests so it’s ready to publish and easy for someone to start using right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab