Python API for graphql
Project description
CHIME/FRB API
Release |
Style |
Documentation |
---|---|---|
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
Release history Release notifications | RSS feed
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.1.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for epigraph-2020.7.27.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d044b9c93d3afd4aa2c6388485f90d410b747818aaf8b0f2001185f3fd963bd |
|
MD5 | aacadfee4689efd553ef0450331c4913 |
|
BLAKE2b-256 | e9e69a73373c2f0aba85e8b944a5e50e69b409259e05f44333c0309a185912ad |