Repository navigation
How do I connect to a sketch using the API client? #1514
Answered
by
kiddinn
kiddinn
asked this question in
Q&A, quick solutions, support
|
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 |
Answered by
kiddinn
Dec 9, 2020
Replies: 1 comment
|
You can also confirm that this is the correct sketch by using sketch.nameand sketch.name |
0 replies
Answer selected by
kiddinn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also confirm that this is the correct sketch by using
and