Get all users registered at a 42 event
Go to file
Starthur 4792d91de5
First push
2022-10-15 13:00:01 +02:00
.gitignore First push 2022-10-15 13:00:01 +02:00
README.md First push 2022-10-15 13:00:01 +02:00
event_user.py First push 2022-10-15 13:00:01 +02:00
requirements.txt First push 2022-10-15 13:00:01 +02:00

README.md

Get all users registred at an event

API Cred

You must register a new API key on https://profile.intra.42.fr/oauth/applications/new and create a file config.py with :

CLIENT_ID_API42 = "<client_uid>"
CLIENT_SECRET_API42 = "<client_secret>"

For dependencies :

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

(Or just the last command if you don't care installing package everywhere on your system)

Use

python event_user.py