Very nice - thank you. With that info I was able to find a module for python that implements the api for qbittorrent and with a quick python script I could retrieve all the info about an active torrent.
In case sombody is interested, here is what the info of a random torrent look like:
TorrentDictionary({'added_on': 1756615146, 'amount_left': 16900217982, 'auto_tmm': False, 'availability': 2.0290000438690186, 'category': '', 'comment': '', 'completed': 517013504, 'completion_on': -1, 'content_path': 'C:\\cpt\\Adobe Illustrator Complete Mega Course - Beginner to Advance', 'dl_limit': 0, 'dlspeed': 1820854, 'download_path': '', 'downloaded': 515440426, 'downloaded_session': 517076916, 'eta': 9629, 'f_l_piece_prio': False, 'force_start': False, 'has_metadata': True, 'hash': 'cbacd2100485b8481cb69cc001fedaa4df4750d5', 'inactive_seeding_time_limit': -2, 'infohash_v1': 'cbacd2100485b8481cb69cc001fedaa4df4750d5', 'infohash_v2': '', 'last_activity': 1756615651, 'magnet_uri': 'magnet:?xt=urn:btih:MAGNET', 'max_inactive_seeding_time': -1, 'max_ratio': -1, 'max_seeding_time': -1, 'name': 'Adobe Illustrator Complete Mega Course - Beginner to Advance', 'num_complete': 11, 'num_incomplete': 2, 'num_leechs': 0, 'num_seeds': 2, 'popularity': 0, 'priority': 1, 'private': False, 'progress': 0.029684023228121893, 'ratio': 0, 'ratio_limit': -2, 'root_path': 'C:\\cpt\\Adobe Illustrator Complete Mega Course - Beginner to Advance', 'save_path': 'C:\\cpt', 'seeding_time': 0, 'seeding_time_limit': -2, 'seen_complete': 1756615651, 'seq_dl': False, 'size': 17417231486, 'state': 'downloading', 'super_seeding': False, 'tags': '', 'time_active': 505, 'total_size': 17532509310, 'tracker': 'udp://open.stealth.si:80/announce', 'trackers_count': 8, 'up_limit': 0, 'uploaded': 0, 'uploaded_session': 0, 'upspeed': 0, 'reannounce_in': 31})