Created
March 17, 2016 03:43
-
-
Save fonnesbeck/064f42fdd5ca67b6a282 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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