Python API for graphql
Project description
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': "Earth"}).fetch(['climate'])
Out[3]: {'data': {'Planet': None}}
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.1.tar.gz
(6.2 kB
view hashes)
Built Distributions
Close
Hashes for epigraph-2020.7.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49c76c57ef1d1478301fbc66da457097039274a73885a3b57fe276d0e3b3de0 |
|
MD5 | f29452069f8392119f0cfedb12fbf222 |
|
BLAKE2b-256 | 704fefbaa04cdc15fe91791290b233c7c9c70d375ceb58162bd2e6abe5c0d3d6 |
Close
Hashes for epigraph-2020.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2c1c66048690f10f3af0ac838d08f5a8f148d8f0e41e3eef0102b331aabb16 |
|
MD5 | 73cb5c81f26512b29ebc10af5e6e2e2d |
|
BLAKE2b-256 | 21daf9de90053b9a1f1ab00c194ed165245d3dc3ecacae7607a03143ef4ce810 |