Skip to content

Instantly share code, notes, and snippets.

View sluugdemogithub's full-sized avatar

sluugdemogithub

View GitHub Profile
@sluugdemogithub
sluugdemogithub / get_gists.py
Created January 11, 2022 05:12 — forked from leoloobeek/get_gists.py
Download all gists for a specific user
# first: mkdir user && cd user && cp /path/to/get_gists.py .
# python3 get_gists.py user
import requests
import sys
from subprocess import call
user = sys.argv[1]
r = requests.get('https://api.github.com/users/{0}/gists'.format(user))