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-2021.2.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

epigraph-2021.2-py3-none-any.whl (9.0 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