Skip to content
Get profile data of repo stargazers using the GraphQL API, way faster than using the REST API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
chart.png
gh-api-limit.png
main.py

README.md

Get Profile Data Of Repo Stargazers GraghQL

This Python has almost the same function as minimaxir / get-profile-data-of-repo-stargazers, but rewritten using the GraphQL API of GitHub, which is much more faster and can overcome the scraw limit in page 1334 using the REST API.

GH Limit using the REST API

I wrote this on my personal analysis project, the "StarTime-StarCount" chart in that project as below.

This program will store stargazers' "username","name","blog", "company", "bio","avatar_url","hireable" , "num_followers", "num_following","created_at","star_time" in csv format.

Usage

  1. Get an access token from your GitHub account.
  2. Write your access token to line 9 of main.py.
  3. Set the owner and repo name in line 9,10 of main.py.
  4. Set timezone in line 103 and 107, default is UTC-5.
  5. Run the script!

Author

Nova Kwok

LICENSE

GPLv3

You can’t perform that action at this time.