Metadata-Version: 2.4
Name: graphql_client
Version: 0.3.0
Summary: A GraphQL Client
Home-page: https://github.com/hsdp/python-graphql-client.git
Author: Kevin Smithson
Author-email: kevin.smithson@philips.com
License: Apache-2.0
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: summary

GraphQL Client
==============

Getting Started
---------------

.. code:: python

    client = GraphQLClient('https://www.graphqlhub.com/graphql')

    result = client.query('''
    query ($id: String!) {
        hn2 {
            nodeFromHnId(id: $id, isUserId: true) {
                id
            }
        }
    }
    ''', {'id': 'clayallsopp'})

The client constructor can also take a dictionary of additonal headers
in a keyword argument ``headers`` or as the second parameter.

Tests
-----

To Run Tests

.. code:: bash

    make test
