Skip to content

Instantly share code, notes, and snippets.

@americanstone
Created August 23, 2017 15:50
Show Gist options
  • Save americanstone/fd2e1331f46e71bcfbc258009fca1f7c to your computer and use it in GitHub Desktop.
Save americanstone/fd2e1331f46e71bcfbc258009fca1f7c to your computer and use it in GitHub Desktop.
The last 7 days github trending projects
curl -G https://api.github.com/search/repositories --data-urlencode "sort=stars" --data-urlencode "order=desc" --data-urlencode "q=language:java" --data-urlencode "q=created:>`date -v-7d '+%Y-%m-%d'`" | jq ".items[0,1,2] | {name, description, language, watchers_count, html_url}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment