Filter out all text results?

31 views
Skip to first unread message

Kristopher Ruzic

unread,
May 29, 2013, 5:31:15 PM5/29/13
to hnse...@googlegroups.com
Is there any way to eliminate Ask HN posts and other posts with text bodies? I'm just starting with the API so I don't really have any ideas. Thanks.

Andres Morey

unread,
May 29, 2013, 11:42:25 PM5/29/13
to hnse...@googlegroups.com
Hi Kristopher,

To ignore "Ask HN" posts you can add this filter to your API queries:
filter[queries][]=title:(-"ask%20hn")

For example, here's a search for posts about Angular that aren't "Ask HN" posts:

Hope that helps!

Andres



On Wed, May 29, 2013 at 5:31 PM, Kristopher Ruzic <krr...@gmail.com> wrote:
Is there any way to eliminate Ask HN posts and other posts with text bodies? I'm just starting with the API so I don't really have any ideas. Thanks.

--
You received this message because you are subscribed to the Google Groups "HNSearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hnsearch+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages