/ent-cookies

🍪 A typescript API made to easily get cookies from your ENT (Espace Numérique de Travail) account.

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

🍪 @ent-cookies

TypeScript Deno JS

About

This is a typescript library made to easily get cookies from your ENT (Espace Numérique de Travail) account.

This project is made using Deno.

Supported ENTs and services

ENT Service id
Toutatice (Bretagne) 🦋 Pronote, 📰 Europresse toutatice
Sciences Po Bordeaux 📰 Europresse scpobx

If you want to add support for another ENT, feel free to open a pull request.

Usage

import { getCookie } from "https://deno.land/x/ent_cookies/mod.ts";

const cookiesData = await getCookie("username", "password", "ent", "service");
console.log(cookiesData);