github3.py
github3.py copied to clipboard
How to fetch repository topics when searching?
Is there a way to fetch topic information when searching for repositories, as it is possible by calling API with adding "Accept": "application/vnd.github.mercy-preview+json" headers?
For example, how to add this information when loading starred repositories? In #859 you mentioned support for repository topics - I don't see anything that would likely correspond to appropriate header in methods for search or getting starred repos.
That PR appears to add support for fetching or changing the topics of a repository by way of the repository object. What you're asking for looks like a different feature, fetching topic information while searching for repos.
Some work would have to be done to enhance the Search functionality to include fetching that info, and populating that info for the search results.