graphql-client/examples/github at main · graphql-rust/graphql-client

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Latest commit

History

History

github

Folders and files

NameName

Last commit message

Last commit date

parent directory

..

graphql-client GitHub API examples

The schema is taken from this repo.

How to run it

The example expects to find a valid GitHub API Token in the environment (GITHUB_API_TOKEN). See the GitHub documentation on how to generate one.

Then just run the example with a repository name as argument. For example:

cargo run --example github graphql-rust/graphql-client