Generate year in review from Trakt history
Python 3.12+
If you donot have Trakt client id, You will need to generate it from Trakt.
- Login to your account in trakt.tv (Trakt)
- Click on your profile (avatar) showing in corner
- Click on Settings
- Click on "Your API Apps"
- provide the details and submit the request.
- You will receive client id and client secret. It may take sometime to receive the API keys depending on time taken by Trakt to verify your information.
- Install required python modules
pip install -r requirements.txt
-
Make your Trakt profile as public from Trakt's account setting (Make it private again after generating year in review)
-
Create
.env
file from.env.example
file
cp .env.example .env
-
Update trakt user name, trakt client id and year in
.env
file -
Run below command on full terminal screen
python generate.py
- Alternatively, You can also pass trakt user name, year and client id in command line argument
python generate.py user_id 2024 trakt_client_id
- Make your Trakt profile as private again from Trakt's account setting.