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.13.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

appsync_client-0.0.13-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file appsync-client-0.0.13.tar.gz.

File metadata

  • Download URL: appsync-client-0.0.13.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for appsync-client-0.0.13.tar.gz
Algorithm Hash digest
SHA256 6f5c1566fc4894d44a2f53b1f6a3c6b491c3737dd7346da566dc1ea841d3ff8c
MD5 33e0b4bdab84e92f18dc567d10484346
BLAKE2b-256 4b7912f91f45b5312e550746884f8c4077b7b0dbaaffa6624e384cdcaef1ad2a

See more details on using hashes here.

File details

Details for the file appsync_client-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: appsync_client-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for appsync_client-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 9c245c4ebb8b891c92711b4d93157404c4da340ee286674c02a6bc90530b122d
MD5 a216288fa09c0a53f0195ecf86b0b287
BLAKE2b-256 1d877194c41feec901cbd202633ec072713d8d3401865dea4f498a9c991abfbb

See more details on using hashes here.

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