How do I connect to a sketch using the API client? #1514
-
In a python shell first you have to get a TS client object. from timesketch_api_client import config
client = config.get_client() There are more ways to configure the config.get_client? And get the docstring. But let's go back to getting a sketch object. To get a sketch object: sketch = client.get_sketch(SKETCH_ID) Replace the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can also confirm that this is the correct sketch by using sketch.name and sketch.name |
Beta Was this translation helpful? Give feedback.
You can also confirm that this is the correct sketch by using
and