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.

Files for epigraph, version 2020.7.28.2
Filename, size File type Python version Upload date Hashes
Filename, size epigraph-2020.7.28.2-py3-none-any.whl (9.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size epigraph-2020.7.28.2.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page