Julia Community

May 30, 2120

get a personal access token for github api

https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line

how to get contributor stats for a repo:

curl -u tbreloff:0b6f4a94be974120a4f3ea77647110efd5ce1c87 https://api.github.com/repos/JuliaPlots/Plots.jl/stats/contributors

Add the packages we need:

] add HTTP, JSON, Plots, LightGraphs, GraphRecipes

Import them:

using HTTP, JSON, Plots, LightGraphs, GraphRecipes

Set your username and token:

USER = "put-your-github-username-here"
TOKEN = "put-your-token-here"

Make a function to get contributor list: