Discover all repositories with given topic #67194
-
Select Topic AreaBug BodyHi, 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'. 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.
Replies: 4 comments
This comment was marked as spam.
This comment was marked as spam.
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.
-
|
SpKnifeoon- |
Beta Was this translation helpful? Give feedback.
This is because the GitHub api doesn't show forked repositories at https://api.github.com/search/repositories?q=topic:astar-network
to see all the 16 (now 40) repositories, you just need to: https://api.github.com/search/repositories?q=topic:astar-network+fork:true
If you think that my answer is correct, you can mark this as the answer.