Skip to content

Instantly share code, notes, and snippets.

@MariusWirtz
Created February 25, 2021 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MariusWirtz/b418b7415f0d1f714c08b9b40752c8d1 to your computer and use it in GitHub Desktop.
Save MariusWirtz/b418b7415f0d1f714c08b9b40752c8d1 to your computer and use it in GitHub Desktop.
from datetime import datetime
from TM1py import TM1Service
with TM1Service(address="localhost", port=12354, ssl=True, user="admin", password="apple") as tm1:
entries = tm1.server.get_transaction_log_entries(
user='admin',
cube='c1',
since=datetime(year=2021, month=1, day=1),
until=datetime(year=2021, month=2, day=25))
print(entries)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment