subgrounds.client module
Small module containing low level functions related to sending GraphQL http requests.
- subgrounds.client.get_schema(url)
Runs the introspection query on the GraphQL API served localed at
urland returns the result. In case of errors, an exception containing the error message is thrown.
- subgrounds.client.query(url, query_str, variables={})
Executes the GraphQL query
query_strwith variablesvariablesagainst the API served aturland returns the response data. In case of errors, an exception containing the error message is thrown.