Get all users registered at a 42 event
Go to file
Starthur 6b56549f94
Update readme with know limitation
2022-10-15 13:06:19 +02:00
.gitignore Remove pycache 2022-10-15 13:03:38 +02:00
README.md Update readme with know limitation 2022-10-15 13:06:19 +02:00
event_user.py Change config import 2022-10-15 13:03:11 +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

Todo

  • If you search event by date and there is two or more at the same time, script will only consider first one