get-profile-data-of-repo-stargazers icon indicating copy to clipboard operation
get-profile-data-of-repo-stargazers copied to clipboard

Support for GitHub Authorization header

Open hetmann opened this issue 4 years ago • 0 comments

Based on the latest updates access_token query param is deprecated. https://github.com/minimaxir/get-profile-data-of-repo-stargazers/blob/74e62a4ebb984a406487ed5a70c843c9f561e9fa/repo_stargazers.py#L28

You should add req.add_header('Authorization', 'token access_token') to all requests. https://github.com/minimaxir/get-profile-data-of-repo-stargazers/blob/74e62a4ebb984a406487ed5a70c843c9f561e9fa/repo_stargazers.py#L31

hetmann avatar Dec 20 '20 20:12 hetmann