Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I list my gists?

Tags:

github

gist

Can I get a listing of my gists?

Such a listing would list all gists, not only four and not show the contents of a gist until I click it.

like image 999
Anders Lindén Avatar asked Nov 19 '16 09:11

Anders Lindén


2 Answers

There is a simple way: https://gist.github.com/anders

just put user name in the end of the url: gist.github.com/[user name]

like image 82
nextofsearch Avatar answered Oct 10 '22 19:10

nextofsearch


Use GitHub Gist API: https://developer.github.com/v3/gists/#list-a-users-gists

For example, list all public Gist of user anders: https://api.github.com/users/anders/gists

a part of return result:

"html_url": "https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2",

Then access: https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2 you will see detail content of this specific gist.

like image 25
Do Nhu Vy Avatar answered Oct 10 '22 18:10

Do Nhu Vy