idms 0.2.7

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

idms 0.2.7

iDMS

Python class to talk to iDMS REST and Search API within Provincie Zuid-Holland.
Goal
The goal of the package is to have an easy interface to use the API in Python.
Mainly focussed to work with Content Server 21.4, see API docs.
Quick start
Requirements

pip install idms
pip install pandas (optional - for easy data transformation)
pip install openpyxl (optional - to write to Excel file)

Sample code
import getpass
import idms.api.contentserver as cs
import pandas # optional

baseUrl = "idms-url"
idms_username = getpass.getpass(prompt='IDMS username:')
idms_password = getpass.getpass(prompt='IDMS password:')
idms = cs.crawler(baseUrl, idms_username, idms_password)

array = idms.search("overdevest prox[1,f] daniel)")
print(f"Found {len(array)} search results")

# optional load results in a data frame to export results.
df = pd.DataFrame(arr)
print(df)

# Export results to Excel
df.to_excel("searchresults.xlsx")

Development
Package is hosted on GitHub. After each change increase version number and create a new Release on GitHub. The pipeline will trigger a release to PyPi (see status batch above).
Collaborate?
Send a PR!
Disclaimer
The developers of this package are not affiliated with OpenText.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.