command
module
Version:
v0.3.4
Opens a new window with list of versions in this module.
Published: Mar 5, 2023
License: MIT
Opens a new window with license information.
Imports: 12
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
The autoload feature of
github.com/joho/godotenv
is used to look for a .env
file and read a value for
GITHUB_TOKEN
to authenticate with GitHub.
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.