Get the total number of stars and forks on a particular github repository.
Borrowed the name from https://github.com/CodeDotJS/stafo
stars
:
var nstafo = new NStafo.NStafo();
Console.WriteLine(await nstafo.NumStarsAsync("github/docs"));
forks
:
var nstafo = new NStafo.NStafo();
Console.WriteLine(await nstafo.NumForksAsync("github/docs"));
- Returns an integer with
total stars
for the specified repository.
- Returns an integer with
total forks
for the specified repository.
username/repository
MIT © Matthew Groves