Name: python-graphql-client
Owner: Prisma
Description: Simple GraphQL client for Python 2.7+
Created: 2016-05-12 12:09:18.0
Updated: 2018-05-12 17:15:57.0
Pushed: 2018-01-05 09:12:58.0
Homepage: null
Size: 10
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Simple GraphQL client for Python 2.7+
install graphqlclient
graphqlclient import GraphQLClient
nt = GraphQLClient('http://graphql-swapi.parseapp.com/')
lt = client.execute('''
lFilms {
films {
title
}
t(result)
Authorization tokens can be added to the request using the client's inject_token
method:
nt.inject_token('very-long-and-secure-token')