Skip to content

Instantly share code, notes, and snippets.

@fonnesbeck
Created March 17, 2016 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fonnesbeck/064f42fdd5ca67b6a282 to your computer and use it in GitHub Desktop.
Save fonnesbeck/064f42fdd5ca67b6a282 to your computer and use it in GitHub Desktop.
import urllib.request
import os, json
repo_url = urllib.request.urlopen('https://api.github.com/users/fonnesbeck/repos')
repo_data = json.loads(repo_url.read().decode('utf8'))
for r in repo_data:
os.system('git clone ' + r['ssh_url'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment