Skip to content

Instantly share code, notes, and snippets.

View guianderson's full-sized avatar
👨‍💻

Guilherme Anderson Aparecido Furtado Barbosa guianderson

👨‍💻
View GitHub Profile
@guianderson
guianderson / get_github_data.py
Created February 6, 2025 19:38
Get Github Data
import requests
ORG_NAME = ""
TOKEN = ""
# Headers para autenticação (se necessário)
headers = {"Authorization": f"token {TOKEN}"} if TOKEN else {}
def get_repositories(org_name):
url = f"https://api.github.com/orgs/{org_name}/repos?per_page=100"