Simple requests

The REST API provided by GitHub may be used to list the repositories made available by the PowerShell team.

The API entry point is https://api.github.com as documented in the reference:

https://developer.github.com/v3/

The specific method being called is documented on a different page of the 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 return a list of repositories:

Invoke-RestMethod -Uri https://api.github.com/users/powershell/repos  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.67.5