Content
@
0 reply
0 recast
0 reaction
Jorge Pablo Franetovic š©
@jpfraneto.eth
i have my hub running i want to extract from its current state all the casts that meet a certain condition (let's say they have the string $bleu inside its text), and save all those casts on on that same machine how would you do this? what's the equivalent of a for loop to check all this info?
4 replies
0 recast
3 reactions
Jorge Pablo Franetovic š©
@jpfraneto.eth
cc @samuellhuber.eth @downshift.eth
1 reply
0 recast
0 reaction
downshift
@downshift.eth
maybe @arfonzo can help? i don't know the best way, but what comes to mind (not sure if possible): streaming all casts over grpc in reverse order with a cursor
2 replies
0 recast
1 reaction
Samuel
@samuellhuber.eth
Iād query the cast API and check Though the best is use shuttle, get a DB and query that š
0 reply
0 recast
0 reaction
arfonzo
@arfonzo
For castback my backup and search tool, I call castsByFid to stream all casts and cache them on filesystem for offline search. There may be a way to set more advanced filters via an API call, I'd start there to check the API specs! I'll try to look later if I have some time.
0 reply
0 recast
0 reaction