graphql 3.0.1 copy "graphql: ^3.0.1" to clipboard
graphql: ^3.0.1 copied to clipboard

outdated

A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.

example/README.md

Example Dart Application #

This is a simple command line application to showcase how you can use the Dart GraphQL Client, without flutter.

To run this application:

  1. First clone this repository and navigate to this directory

  2. Install all dart dependencies

  3. create a file bin/local.dart with the content:

    const String YOUR_PERSONAL_ACCESS_TOKEN =
       '<YOUR_PERSONAL_ACCESS_TOKEN>';
    
  4. Then run the Application using the commands below:

    1. List Your Repositories
    pub run main.dart
    
    1. Star Repository
    pub run main.dart -a star --id <REPOSITORY_ID_HERE>
    
    1. Unstar Repository
    pub run main.dart -a unstar --id <REPOSITORY_ID_HERE>
    

NB: Replace repository id in the last two commands with a real Github Repository ID. You can get by running the first command, IDs are printed on the console.

463
likes
0
pub points
98%
popularity

Publisher

verified publisherzino.company

A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

gql, http, http_parser, meta, mime, path, quiver, rxdart, uuid_enhanced, websocket

More

Packages that depend on graphql