pymaid.get_transactions¶
- pymaid.get_transactions(range_start=None, range_length=25, remote_instance=None)[source]¶
Retrieve individual transactions with server.
This API endpoint is extremely slow!
- Parameters:
range_start (int, optional) – Start of table. Transactions are returned in chronological order (most recent transactions first)
range_length (int, optional) – End of table. If None, will return all.
remote_instance (CatmaidInstance, optional) – If not provided, will search for globally defined CatmaidInstance.
- Returns:
DataFrame listing individual transactions:
change_type execution_time label ... 0 Backend 2017-12-26 03:37:00 labels.update ... 1 Backend 2017-12-26 03:37:00 treenodes.create ... 2 Backend 2017-12-26 03:37:00 treenodes.create ... 3 Backend 2017-12-26 03:37:00 treenodes.create ... 4 Backend 2017-12-26 03:32:00 treenodes.create ... project_id transaction_id user_id user 0 1 404899166 151 dacksa 1 1 404899165 151 dacksa 2 1 404899164 151 dacksa 3 1 404899163 151 dacksa 4 1 404899162 151 dacksa
- Return type:
pandas.DataFrame