Skip to main content

Python API for graphql

Project description

CHIME/FRB API

Release Style Documentation
PyPI version Code style: black Documentation: sphinx

epigraph

Automated GraphQL API

Installation

pip install epigraph

Running the API

In [1]: from epigraph import graphql_api

In [2]: API = graphql_api.GraphQLAPI(url="https://swapi.graph.cool/")

In [3]: API.query('Planet').args({'name': "Alderaan"}).fetch(['climate'])
Out[3]: {"data": {"Planet": {"climate": ["temperate"]}}}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epigraph-2020.7.27.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

epigraph-2020.7.27.2-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page