我如何列出我的要点?
How do I list my gists?
我可以列出我的要点吗?
这样的列表会列出所有要点,而不仅仅是四个,并且在我单击之前不会显示要点的内容。
使用GitHub要点API:https://developer.github.com/v3/gists/#list-a-users-gists
例如,列出用户anders
的所有public要点:https://api.github.com/users/anders/gists
return 结果的一部分:
"html_url": "https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2",
然后访问:https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2你会看到这个特定要点的详细内容。
有一个简单的方法:
https://gist.github.com/anders
只需将用户名放在url的末尾:gist.github.com/[用户名]
您可以使用 github API
for example:
https://api.github.com/users/{your git username}/gists
生成如下所示的 json 文件:
我可以列出我的要点吗?
这样的列表会列出所有要点,而不仅仅是四个,并且在我单击之前不会显示要点的内容。
使用GitHub要点API:https://developer.github.com/v3/gists/#list-a-users-gists
例如,列出用户anders
的所有public要点:https://api.github.com/users/anders/gists
return 结果的一部分:
"html_url": "https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2",
然后访问:https://gist.github.com/5b2bd534992dafe3f05202d43d8e48a2你会看到这个特定要点的详细内容。
有一个简单的方法: https://gist.github.com/anders
只需将用户名放在url的末尾:gist.github.com/[用户名]
您可以使用 github API
for example:
https://api.github.com/users/{your git username}/gists