graphene 0.0.1+1 copy "graphene: ^0.0.1+1" to clipboard
graphene: ^0.0.1+1 copied to clipboard

Simple GraphQL Client.

Graphene #

Simple GraphQL Client. Hecho en 🇵🇷 por Radamés J. Valentín Reyes.

Documentation #

Create a GraphQL Query #

test-1.graphql

query GetAllFilms{
  allFilms {
    films {
      title
    }
  }
}

Make a Request to the server #

operationName and variables are optional parameters.

String query = await File("./graphql-queries/test-1.graphql").readAsString();
Map<String,dynamic> response = await graphene.request(
  url: "https://swapi-graphql.netlify.app/.netlify/functions/index", 
  graphQlQuery: query,
);
print(response);

Contribute/donate by tapping on the Pay Pal logo/image #


References #

1
likes
130
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Simple GraphQL Client.

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

sexy_api_client

More

Packages that depend on graphene