Ruby JavaScript Shell Scala Groovy HTML Other
Latest commit cef2620 Oct 12, 2017 @nathos nathos committed with jonico Update the graph rendering example to support Octokit >2.0 (#146)
* Update Gemfile with newer dependency versions

* Update to use access_token config option

* Revert environment variables to their previous values

* Update comment/exmample environment variables to be less confusing

* Revert "Update comment/exmample environment variables to be less confusing"

This reverts commit 50191ab.

* Revert "Revert environment variables to their previous values"

This reverts commit 5594477.

README.md

platform-samples

This is a public place for all sample projects related to the GitHub Platform.

Hierarchy

The directories are organized to correlate with guides found on developer.github.com. But here it is, broken down:

  • api: here's a bunch of sample code relating to the API. Subdirectories in this category are broken up by language. Do you have a language sample you'd like added? Make a pull request and we'll consider it.
  • graphql: here's a bunch of sample GraphQL queries that can be run against our GitHub GraphQL API.
  • hooks: wanna find out how to write a consumer for our web hooks? The examples in this subdirectory show you how. We are open for more contributions via pull requests.
  • pre-receive-hooks: this one contains pre-receive-hooks that can block commits on GitHub Enterprise that do not fit your requirements. Do you have more great examples? Create a pull request and we will check it out.