Usage examples


In [ ]:
from pyciss import io

The io module manages where data is stored and

This is my database root path, where all downloaded images are automatically stored.

Check if this is automatically set for you at a reasonable location. Otherwise, control it with the config.ini file.


In [ ]:
io.config

In [ ]:
io.get_db_root()

OPUS API


In [ ]:
from pyciss import opusapi

In [ ]:
opus = opusapi.OPUS()

In [ ]:
opus.query_image_id('N1541711364')

In [ ]:
opus.download_previews()

In [ ]:
opus.show_images()

In [ ]:
opus.download_results()

In [ ]:
io.get_db_root()

In [ ]: