Skip to main content

Appsync python client for consuming the graphql endpoint

Project description

appsync-client

Usage

def callback(client, userdata, msg):
  #use the msg
  pass

appsyncClient = AppSyncClient()
query = json.dumps({"query": "mutation {\n  updateSecret(id:\"1234\",secretString:\"sdfsdf\") {\n    id\n    secretString\n  }\n}\n"})
response = appsyncClient.execute(region="us-east-2",url="https://..../graphql",method="POST",data=query,callback=callback)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

appsync-client-0.0.4.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

appsync_client-0.0.4-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page