command
module
Version:
v0.3.16
Opens a new window with list of versions in this module.
Published: Jan 7, 2025
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
GitHub GraphQL API client

Goal
Get a list of all of repositories owned by me from GitHub, alongside and/or sorted by creation date.
From the Explorer
{
repositoryOwner(login: "jlucktay") {
login
repositories(first: 100, isFork: false, orderBy: {field: CREATED_AT, direction: ASC}) {
edges {
node {
createdAt
name
}
}
}
}
}
GitHub token
A personal access token (classic) is used to access
GitHub,
and must be set in the GITHUB_TOKEN
environment variable.
TODO
Doing
Done
- get forks and not-forks as two separate queries
- in Terraform, these would be maintained as two separate resources, one volatile and one less so
- Pagination (starter limit is 100 and we're almost there already)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.