Is it possible to call cs.github.com using an API token? #38271
-
I gave it a try without success, but it does work passing a header with the Cookie of my account, although the cookie gets expired after 24 hours. My intention is to query the search service to calculate usage stats for Go packages. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
where in the API documentation the endpoints can be found ? I'm looking here but I think it's not https://docs.github.com/en/rest/search it can give results partially like what you are receiving but if it's not yet fully implemented in the API, I doubt it can be done using API |
Beta Was this translation helpful? Give feedback.
-
There is no public API for cs.github.com. Adding an API for the new code search is on our road map, so I'd like to hear more about your use case and how you plan to use the API. Thanks! |
Beta Was this translation helpful? Give feedback.
There is no public API for cs.github.com. Adding an API for the new code search is on our road map, so I'd like to hear more about your use case and how you plan to use the API. Thanks!