Python library for GraphQL API interactions on Github Actions.
Basic example:
from githubgql import githubgql
QUERY = """
query {
repository(owner: "github", name: "docs") {
name
}
}
"""
token = os.environ.get('BOT_TOKEN', None)
result = githubgql.graphql(QUERY, token)
More detailed examples are present in the source.
Packaged using tutorial on packaging.python.org. Uses gh-action-pypi-publish for automatic publishing.