A python library to interact with Opentext Extended ECM REST API. The product API documentation is available on OpenText Developer Detailed documentation of this package is available here.
Install pyxecm with the desired extras into your python environment, extra options are:
- browserautomation
- dataloader
- sap
pip install pyxecm
Create an .env
file as described here: sample-environment-variables
python -m pyxecm.customizer.api
Access the Customizer API at http://localhost:8000/api
from pyxecm import OTCS
otcs_object = OTCS(
protocol="https",
hostname="otcs.domain.tld",
port="443",
public_url="otcs.domain.tld",
username="admin",
password="********",
base_path="/cs/llisapi.dll",
)
otcs_object.authenticate()
nodes = otcs_object.get_subnodes(2000)
for node in nodes["results"]:
print(node["data"]["properties"]["id"], node["data"]["properties"]["name"])
!!! quote "" Copyright © 2025 Open Text Corporation, All Rights Reserved. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.