-
I see a randomChar being added to the GitHub query string, what purpose does this serve? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So, when using the search API from Github, if you search by a topic or language, you always get the same 1000 repositories (the best ranked for example). Does this make sense? |
Beta Was this translation helpful? Give feedback.
So, when using the search API from Github, if you search by a topic or language, you always get the same 1000 repositories (the best ranked for example).
If we add a randomChar to our call to the searchAPI we add even more randomness. Otherwise we were always picking a repository from the same 1000. Now, if randomChar is send to the searchAPI, we get a whole different set of 1000 repositories.
It was added to improve randomness and the publishing of repositories with not so many stars.
Does this make sense?