Discover all repositories with given topic #67194
Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
This is because the GitHub api doesn't show forked repositories at https://api.github.com/search/repositories?q=topic:astar-network If you think that my answer is correct, you can mark this as the answer. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi, in my usecase i need to find all repositories marked with given topic on github. The topic in question is for instance 'astar-network'. When i head over to https://github.com/topics/astar-network i can see 16 repositories, but when i execute search query (the only way i know about to get repositories by topic) https://api.github.com/search/repositories?q=topic:astar-network i get only 15 results. the missing repo is this: https://github.com/ahmetzturk/neurolauncher and it clearly is marked as 'astar-network'.
Similar discrepancy can be visible for topic 'dappstaking': https://github.com/topics/dappstaking and https://api.github.com/search/repositories?q=topic:dAppStaking 6 to 5 and the same repo is missing.
Could it be because repository in question is actually a fork and the parent repository is not marked with given topic? How does this work?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions