Last active
August 3, 2022 20:26
-
-
Save juergenhoetzel/1a0a73766a93942ed24722587f821edf to your computer and use it in GitHub Desktop.
List starred Github repos in Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$user = "juergenhoetzel" | |
$p = 1 | |
do { | |
$full_names = Invoke-RestMethod "https://api.github.com/users/$user/starred?per_page=100&page=$p" | |
$full_names.ForEach({$_.full_name}) | |
$p++ | |
} while ($full_names.Length -gt 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment