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.27.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for epigraph-2020.7.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7df22169de489005ac24f08f50c7db634c5111f7c4bac65dbfdcfe93722b22c7 |
|
MD5 | 01821c88b993f03a18833c0270e7522f |
|
BLAKE2b-256 | 5511280281c6a7c91c7c6569a228bfb35b2891784121cf85331bb1fa4d966b94 |