-
Python 3.7+
-
WordPress, with plugins:
-
Ensure an extended user profile field called "Kaggle Username" is added:
- Ensure your WordPress Register page is linked to BuddyBoss Register page.
- Go to BuddyBoss->Profiles
- In 'SignUp' Details, add a new field for "Kaggle ID" (as 4th field in that list)
- Setup all the required fields in
config.json
- To run:
python main.py
- Works only for score types: Accuracy
- The
score_threshold
and correspoding reward points can be found as pairs inscores_to_points
field of the config. - Currently, the awarded points get added directly only to the user's balance.
- To also register the awarded points as user earnings, add this PHP hook to WordPress using the Code Snippets plugin.