Code Monkey home page Code Monkey logo

uapv-edt-binder's Introduction

Get Your EDT-UAPV Token

Welcome to the EDT-UAPV token retrieval tool!

Prerequisites

Before you start, ensure you have the following prerequisites installed on your system:

  • Python 3.x
  • pip (Python package installer)

Installation

Step 1: Install Python Dependencies

First, you need to install the necessary Python libraries. Open your terminal and run the following command:

pip install -r requirements.txt

This command reads the requirements.txt file and installs all the listed Python packages.

Step 2: Install WebDriver

This tool requires a WebDriver for running automated tasks in a web browser. We use ChromeDriver as an example here, but you can use any WebDriver compatible with your browser.

  • ChromeDriver: Visit the ChromeDriver download page and download the version that matches your Chrome browser version. Extract the downloaded file and ensure the chromedriver executable is in your system's PATH.

Usage

To use this tool, you need to send a POST request with your University of Avignon credentials. Below is an example using curl:

Curl Example

curl -X 'POST' \
  'http://127.0.0.1:5000/login' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "username": "uapvXXXXXXX",
  "password": "YOUR_PASSWORD"
}'

Replace uapvXXXXXXX with your actual username and YOUR_PASSWORD with your password.

Response

Upon successful authentication, the server will respond with a JSON object containing your name and token:

{
    "name": "Aubertin Emmanuel",
    "token": "YOUR_TOKEN_HERE",
    "isStudent": "true",
}

Store this token securely, as it will be used for subsequent API requests to the University of Avignon's schedule systems. This can expire shortly, it is like an session token.

Note

Ensure you keep your credentials secure and do not share your token with others.

uapv-edt-binder's People

Contributors

emmanuel-aubertin avatar

Stargazers

 avatar

Watchers

 avatar

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.