API code searching - exclude function not working #128791
Unanswered
AT-Metro
asked this question in
API and Webhooks
Replies: 1 comment
-
Anyone have some info if we can do exclusions with API for code search |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi Everyone,
Trying to do some searching with the API function and adding some exclusions to narrow down the results.
API being targeted- https://api.github.com/search/code?q=keyword+-path%3AexcludingKeyword
I've tried a few different ways
But still getting the same results being returned via the API but via the search on the site it will exclude.
https://github.com/search?q=cats+-path%3Amd
I've read into the Docs but not seeing much about the excluding around the code search API and the search syntax advises what I am trying.
Any advice would be appreciated.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions