在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):prisma-labs/python-graphql-client开源软件地址(OpenSource Url):https://github.com/prisma-labs/python-graphql-client开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):python-graphql-clientSimple GraphQL client for Python 2.7+ Installpip install graphqlclient Usagefrom graphqlclient import GraphQLClient
client = GraphQLClient('http://graphql-swapi.parseapp.com/')
result = client.execute('''
{
allFilms {
films {
title
}
}
}
''')
print(result) AuthorizationAuthorization tokens can be added to the request using the client's client.inject_token('very-long-and-secure-token') which defaults to http header name client.inject_token('very-long-and-secure-token','x-api-key') License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论