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:
- Dot-notation, with
.
indicating the beginning of a nested query level - A comma
,
indicates a field on the same level as the prior field - Parenthesis
()
for filters and "quoting" aliases
Project details
Release history Release notifications | RSS feed
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 hashes)