Update bnet_auth_tool.py

This small update focuses on a significant refactoring of the codebase to improve maintainability, readability, and structure. 

The core functionality remains unchanged.

Key changes include:

- Documentation Removal: Docstrings and comments have been removed to reduce code clutter.

- Configuration Consolidation: All global constants (e.g., version info, API URLs, cryptographic parameters) are now centralized in a single AppConfig class for better organization and easier management.

- Streamlined Logic: Simplified the error handling for API requests and refined several helper functions for improved clarity and more idiomatic Python.

- Structural Enhancements: Minor improvements to the overall code structure for a cleaner and more direct implementation.
This commit is contained in:
Nighthawk
2025-08-11 00:24:50 -04:00
committed by GitHub
parent 0e4797d8ca
commit 2fdee4de71
+199 -731
View File
File diff suppressed because it is too large Load Diff