Skip to content

HugoDF/python-graphql-client-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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