Skip to content

Instantly share code, notes, and snippets.

View ryandhubbard's full-sized avatar

Ryan Hubbard ryandhubbard

  • Planet Art
  • Los Angeles
View GitHub Profile
@ryandhubbard
ryandhubbard / get_gists.py
Created November 30, 2023 21:17 — 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))