Open blackcoffeexbt opened 3 months ago
Hey, good question! The Python library can, you can pass Nostr.query
an arbitrary NIP-01 filter - https://granary.readthedocs.io/en/latest/source/granary.html#granary.nostr.Nostr.query - but the REST API can't. That could be a good addition! I'm not sure what the parameter(s) would look like though.
Hi,
I've read through the Granary code and README but can't see a way to filter Nostr data by kind. Can you tell me if this is supported yet?
This is an example query that I am trying without any filtering applied.
https://granary.io/nostr/npub1dqepr0g4t3ahvnjtnxazvws4rkqjpxl854n29wcew8wph0fmw90qlsmmgt/?relay=relay.damus.io