Simple requests
The REST API provided by GitHub may be used to list repositories made available by the PowerShell team.
The API entry point is https://api.github.com as documented in this reference: https://developer.github.com/v3/.
When working with REST, documentation is very important. The manner in which an interface is used is common, but the manner is which it may respond is not (as this is an architectural style, not a strict protocol).
The specific method being called is documented on a different page of the following reference: https://developer.github.com/v3/repos/#list-user-repositories.
The name of the user forms part of the URI; there are no arguments for this method. Therefore, the following command will execute the method and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access