Nit wrapper for Github API

This module provides a Nit object oriented interface to access the Github api.

Accessing the API

Authentification

Token can also be recovered from user config with `get_github_oauth`.

Retrieving user data

Retrieving repo data

Other data

Advanced uses

Caching

Custom requests

Change the user agent

Debugging

Using with GitLab

If URL scheme of GitLab API follows the one of Github API, it may be possible to configure this wrapper to use a custom URL.

Creating hooks

Using this API you can create Github hooks able to respond to actions performed on a repository.

Dealing with events

GithubAPI can trigger different events depending on the hook configuration.