Skip to main content

A simple command-line tool for writing GQL queries

Project description

igqloo

A small tool for interacting with GQL APIs

Arguments, mutations, aliases are all supported. Other features, such as fragments, are left unsupported with the opinion that, when a query becomes large enough to warrant them, you might be best feeding in a file containing your query.

igqloo <graphql_uri> customer(name:"gerhalt@gmail.com").id,firstName,lastName

Under the surface, generates a GraphQL query that looks like:

query {
    customer(name:"gerhalt@gmail.com") {
        id, firstName, lastName
    }
}

Queries are made simple using three key concepts:

  1. Dot-notation, with . indicating the beginning of a nested query level
  2. A comma , indicates a field on the same level as the prior field
  3. Parenthesis () for filters and "quoting" aliases

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

igqloo-0.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file igqloo-0.1.tar.gz.

File metadata

  • Download URL: igqloo-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for igqloo-0.1.tar.gz
Algorithm Hash digest
SHA256 1439d82fbd6b3785c72da803ad836f6d373a8b6cfee4f57fe4be2895f449d5f9
MD5 26f92f8e7048ba257dc28964b92f44fc
BLAKE2b-256 93dc80becb48933158c7d7edb6d3469fecd2b4b1c32a328e4561f754993a32ec

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