gql
library, build upon the template you may have seen in the introduction to the GraphQL API, and assume you have an API token.
This template is a good starting point for building automation or experimenting with the API. It includes logging and pulling information like your API token and Ghostwriter URL from a config file.