Code Monkey home page Code Monkey logo

ade's Introduction

BdeEnsisaAde

License Issues Pull Requests Code Size CodeFactor Open Source Helpers

Scrapper d'ADE pour afficher les emplois du temps dans l'application du BDE.

Installation

pip install -r requirements.txt

Variables d'environnement

Name Description
DB_HOST MySQL database host
DB_NAME MySQL database name
DB_USER MySQL user name
DB_PASSWORD MySQL user password

Structure de la base de données

CREATE TABLE `Users` (
  `id` varchar(32) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `option` varchar(255) NOT NULL,
  `year` varchar(255) NOT NULL,
  `expiration` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
);

CREATE TABLE `UserCourses` (
  `ade_uid` varchar(255) NOT NULL,
  `user_id` varchar(32) NOT NULL,
  `title` text NOT NULL,
  `start` varchar(255) NOT NULL,
  `end` varchar(255) NOT NULL,
  `location` text NOT NULL,
  `description` text NOT NULL,
  PRIMARY KEY (`ade_uid`,`user_id`)
);

Configuration

Pour accéder aux emplois du temps, il faut renseigner les identifiants de connexion à ADE dans le fichier credentials.json:

{
    "username": "[email protected]",
    "password": "MySuperPassword"
}

ade's People

Contributors

nathanfallet avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ade's Issues

Incorrect data for some users

Data fetched is incorrect for some users if they have a mistake in there name (It can be a simple accent), or if there are multiple people with the same last name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.