Using GitHub GraphQL API.
See related gist here.
Using GitHub GraphQL API.
See related gist here.
{ | |
"owner": "MichaelCurrin" | |
} |
query Repos($owner: String!, $cursor: String) { | |
repositoryOwner(login: $owner) { | |
repositories( | |
first: 100 | |
ownerAffiliations: OWNER | |
privacy: PUBLIC | |
isFork: false | |
isLocked: false | |
orderBy: { field: NAME, direction: ASC } | |
after: $cursor | |
) { | |
totalCount | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
nodes { | |
name | |
description | |
# Add more fields here. | |
} | |
} | |
} | |
} |