IndicoClient

class indico.client.client.IndicoClient(config=None)

The Indico GraphQL Client.

IndicoClient is the primary way to interact with the Indico Platform.

  • Parameters:
    config= (IndicoConfig, optional) – IndicoConfig object with environment configuration
  • Returns:
    IndicoConfig object
  • Raises:
    RuntimeError – If api_token_path does not exist.

call(request)

Make a call to the Indico IPA Platform

  • Parameters:
    request (GraphQLRequest or RequestChain) – GraphQL request to send to the Indico Platform
  • Returns:
    Response appropriate to the class of the provided request parameter. Often JSON, but not always.
  • Raises:
    IndicoRequestError – With errors in processing the request