events-users/README.md

23 lines
494 B
Markdown

# 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 :
```python
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
```