A Python API that enables basic features provided via the DigiStorage REST API for Developers.
- Python 3.6+ (may work on older versions, but didn't test)
- Required packages:
pip install reqests argparse
- Copy
config.example.yaml
toconfig.yaml
& fill out theemail
&password
- Examples:
python digistorage.py -h
python digistorage.py --upload=README.md --remote_path=
python digistorage.py --info --remote_path=README.md
python digistorage.py --mkdir --remote_path=new_folder
python digistorage.py --rm --remote_path=new_folder
- Create an instance of the
DigiStorageApi
class - You can manually pass the
email
&password
to theDigiStorageApi
constructor or use the sameconfig.yaml
approach - Read the docs for more info