iamkubi / pydactyl

Python wrapper for the Pterodactyl Panel API
MIT License
67 stars 21 forks source link

Add optional json parameter to get_file_contents #81

Open Pokeylooted opened 9 months ago

Pokeylooted commented 9 months ago

In the get_file_contents method, a new parameter 'json' has been added. This parameter is a boolean and defaults to True. It is used to determine whether to get the json_response or not. This change is necessary for retrieving files, from some server instances.