Skip to content

Commit

Permalink
Updating Script
Browse files Browse the repository at this point in the history
  • Loading branch information
rofiesiiitp committed Jul 9, 2024
1 parent 7c62967 commit 4ea92c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ get-people/avatar_urls.txt
Report.csv
Contact Information ROFIES - Form Responses 1.csv
.vercel
.env

4 changes: 4 additions & 0 deletions get-people/fetch_avatar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
import requests
from PIL import Image
from io import BytesIO
from dotenv import load_dotenv


# GitHub organization name
org_name = "ROFIES-IIITP"
api_url = f"https://api.github.com/orgs/{org_name}/members"


# GitHub Personal Access Token (PAT) for authentication
load_dotenv()
github_token = os.getenv("GITHUB_TOKEN")

if not github_token:
Expand Down
Binary file modified get-people/members.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ea92c1

Please sign in to comment.