Hello all, does anyone know of a prefect SDK funct...
# ask-community
r
Hello all, does anyone know of a prefect SDK function(s) that I can call to fetch and filter events? I can use this API endpoint, but I'd prefer to use a supported library function if it exists. Thanks!
b
Hi Ryan! I think read_events may be what you're looking for?
r
hey@Bianca Hoch! correct me if im wrong but that looks like the api endpoint signature to me?
j
There are a number of tools that generate client code from open api descriptions - try searching github?
r
@Janet Carson I could hit the API manually, but just wondering if it was built into the SDK anywhere, similar to the
emit(Event)
one I found here? Just in case API changes down the line, I can rely on the SDK instead of making changes on my end.