Skip to content

HugoDF/python-graphql-client-example

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Python GraphQL client example

An example consuming a GraphQL API from Python using gql.

Run using virtualenv

$ virtualenv venv -p python3
$ source ./venv/bin/activate
$ pip install -r requirements.txt
$ python fetch.py
{'pokemon': {'attacks': {'special': [{'name': 'Discharge'}, {'name': 'Thunder'}, {'name': 'Thunderbolt'}]}}}

About

An example consuming a GraphQL API from Python using gql.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages