Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When getting a repo object from the GitHub API, what does the network_count field represent?

The docs for the api don't specify it. Here is an example of the response from the api: https://api.github.com/repos/mojombo/grit

like image 431
jstejada Avatar asked Oct 02 '22 07:10

jstejada


People also ask

How do I get my GitHub API repository?

You can use the github api for this. Hitting https://api.github.com/users/USERNAME/repos will list public repositories for the user USERNAME.

What does GitHub API return?

The API would return the login of each follower, along with other data about the followers that you don't need. Then, for each follower, you would need to make a request to GET /users/{username}/followers .

What does GitHub repo means?

A repository contains all of your project's files and each file's revision history. You can discuss and manage your project's work within the repository.

What does watcher mean on GitHub?

“Watchers” are Github users who have asked to be notified of activity in a repository, but have not become collaborators. Watching a repository is similar to following an RSS feed to see changes. Metric Calculation. Forks, pulls, and commits are counted by the Git software running on the Github servers.


1 Answers

The network_count field represents the number of repositories in the network. Basically, it's the number of repositories shown on the Network > Members page, minus the repository itself.

https://github.com/mojombo/grit/network/members

like image 192
Ivan Zuzak Avatar answered Oct 19 '22 20:10

Ivan Zuzak