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-2021.2.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for epigraph-2021.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9e0001d8b20df2461554f54ed83efc28c893c694290ad1479fba4979e1857e8 |
|
MD5 | a634f9d1d728f6f10f27495ebc06ffaf |
|
BLAKE2b-256 | f39fd521058a59ce30fbe948bfe26a4e38b5479a279ba8f9d7b8fe564cf05371 |