Skip to content

Instantly share code, notes, and snippets.

View elanzini's full-sized avatar
🧬
collecting data

Edoardo Lanzini elanzini

🧬
collecting data
View GitHub Profile
@elanzini
elanzini / count_dep_bots.py
Last active April 14, 2023 07:06
Counting repositories with Renovate or Dependabot installed
import os
import requests
import time
# GitHub API endpoint
url = 'https://api.github.com'
# Get the GitHub token from the environment variable
github_token = os.environ.get('GITHUB_TOKEN')