Last active
February 23, 2018 00:43
-
-
Save SplitPixl/d09f48d7b7c81f989f063d47e5262a5c 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
fetch('https://api.github.com/search/commits?q=author:SplitPixl&sort=author-date', {headers: new Headers({'Accept': 'application/vnd.github.cloak-preview'})}).then(r => {return r.json()}).then(res => { | |
var repos = res.items.map(commit => {return {name: commit.repository.full_name, url: commit.repository.url}}) | |
console.log(repos) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment