mklymyshyn / python-graphql-client

Simple GraphQL client for Python 2.7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License

MIT License

About

Simple GraphQL client for Python 2.7+

License:MIT License


Languages

Language:Python 100.0%