Skip to content

prisma-labs/python-graphql-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-graphql-client

Simple GraphQL client for Python 2.7+

Install

pip install graphqlclient

Usage

from graphqlclient import GraphQLClient client = GraphQLClient('http://graphql-swapi.parseapp.com/') result = client.execute(''' {  allFilms {  films {  title  }  } } ''') print(result)

Authorization

Authorization tokens can be added to the request using the client's inject_token method:

client.inject_token('very-long-and-secure-token') 

License

MIT License

About

Simple GraphQL client for Python 2.7+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages