gokermu
(Mucahit Bilal GOKER)
19 March 2022 08:12
1
Hi guys,
Is there an easy way to get Speckle Streams by name? I have done it by looping through each stream then finding the one that has the same value as the input. Is there a more efficient way of doing it.
1 Like
Hey @gokermu !
Not sure if I’m missing something but it seems to me you’re looking for this
}
"""
)
params = {"id": id}
return self.make_request(
query=query, params=params, return_type="streamDelete", parse_response=False
)
def search(
self,
search_query: str,
limit: int = 25,
branch_limit: int = 10,
commit_limit: int = 10,
):
"""Search for streams by name, description, or id
Arguments:
search_query {str} -- a string to search for
6 Likes
gokermu
(Mucahit Bilal GOKER)
19 March 2022 09:45
3
Hey man,
That was exactly what I was looking for. Thanks @AlanRynne
2 Likes