Go programmers may also be interested in this project:<p><a href="https://git.sr.ht/~emersion/gqlclient" rel="nofollow">https://git.sr.ht/~emersion/gqlclient</a><p>Which could be used to write a similar program.
For subscriptions, you could use graphql-python/gql (<a href="https://github.com/graphql-python/gql" rel="nofollow">https://github.com/graphql-python/gql</a>) as a dependency instead of requests and graphql-core directly and support the websockets transport.
(This is implemented in Python)<p>Would love to see a Rust port as a reference for how Rustaceans would achieve comparable functionality, curious what the tradeoffs would be (complexity and LoC).