The WakaTime plugin works with the Blender animation software and is open-source on GitHub.
Download the WakaTime.py file from GitHub.
Inside Blender, go to File → User Preferences → Add-ons, then click the Install from File… button.
Install from File…
Select the WakaTime.py file.
Check the box to enable the plugin, then click the Save User Settings button.
Save User Settings
Hit the Space key to open the floating menu and type waka then click WakaTime API Key
WakaTime API Key
Enter your API key
then click OK.
Use Blender like you normally do and your time will be tracked for you automatically.
Visit https://wakatime.com/dashboard to see your coding activity.