A client library for working with the Project Electron APIs.
Make sure this library is installed:
pip3 install ElectronBonder
Then create a client with a baseurl, a username and a password:
from electronbonder.client import ElectronBond
client = ElectronBond(
baseurl="http://my.aspace.backend.url.edu:4567",
username="admin",
password="TopSecr3t")
This code is basically stolen from ArchivesSnake.
ElectronBonder source code is released under an MIT License.