Skip to content

mahekan/mgraphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mgraphql

Python library link with graphql


from mgraphql import Mgraphql
for send variables type ($variables name)

query ="""
{
  viewer {
    login
  }
  rateLimit {
    limit
    cost
    remaining
    resetAt
  }
}
"""
variables = {

your variables

type Python Dictionary 

}
url = 'https://api.github.com/graphql'

token default none

mgraph = Mgraphql(url,token)
query =mgraph.query(query)
mutation =mgraph.mutation(query,variables)
print(mutation)
print(query)

About

Python library link with graphql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages