Skip to content

ShineyDev/github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyze Status Build Status Check Status Deploy Status Lint Status


ShineyDev/github

An asynchronous Python library for interaction with GitHub's GraphQL API.
source | documentation

Install

Warning

This installation may be unstable. If you're looking for a stable release, go here.

$ pip install --upgrade git+https://github.com/ShineyDev/github.git@dotcom

There is also a more in-depth installation guide in the documentation.

Use

>>> import aiohttp
>>> import github
>>>
>>> session = aiohttp.ClientSession()
>>> client = github.Client(token="...", session=session)
>>>
>>> await client.request("{viewer{login}}")
{'viewer': {'login': 'nat'}}

There are also more in-depth usage guides in the documentation.

Copyright 2019-present ShineyDev
This repository is not endorsed by or affiliated with GitHub Inc. or its affiliates. "GitHub" is a registered trademark of GitHub Inc.

About

An asynchronous Python library for interaction with GitHub's GraphQL API.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Languages