Python API for MyStat
- Login with password and login
- Full user info (like full name, photo url, group name, level and more)
- Two leaderboards:
- Stream leaderboard (each with photo url + count of points)
- Group leaderboard (photo url and also points)
- Get count of all three types of points (crystals, coins and stars)
- Future exams
- Can refresh access token
- Homeworks (for now read only)
Just copy API.py from src directory to your project and import. Yeah it isn't a PyPi package now.
- Clone or download this repository
- Go in downloaded directory
pip install -r requirements.txt
pytest src/
Also if you have MyStat account you can run test.example.py Just paste your username and password