Skip to content

Instantly share code, notes, and snippets.

@barrownicholas
barrownicholas / waveapps.py
Created June 26, 2022 01:55
Connect to the WaveApps API and run GraphQL queries.
from __future__ import annotations
# install requirements: pip3 install gql[all]
from gql import gql, Client
from gql.transport.aiohttp import AIOHTTPTransport
ENDPOINT = "https://gql.waveapps.com/graphql/public" # this is a static endpoint and should not be changed