Skip to content

actions-automation/githubgql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

githubgql

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.

About

Python library for GraphQL API actions on Github

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages