network_tools icon indicating copy to clipboard operation
network_tools copied to clipboard

get_balance.py creates an unnecessary directory

Open garrul4ik opened this issue 3 months ago • 1 comments

When requesting a balance using the script from the example "get_balance.py" , the library creates an "images" folder. I hate deleting it every time :))

garrul4ik avatar Oct 04 '25 16:10 garrul4ik

You can specify a different folder name:

client = NetworkToolsAPI(api_key, output_dir=".images")

OR remove 61 line in network_tools/api.py

This folder is needed for images, music, and text-to-speech when accessing the API

Badim41 avatar Oct 04 '25 17:10 Badim41