Raku Land

WebService::GitHub

zef:raku-community-modules

WebService-GitHub

A wrapper for the GitHub REST API.

SYNOPSIS

use WebService::GitHub;

my $gh = WebService::GitHub.new(
    access-token => 'my-access-token'
);

my $res = $gh.request('/user');
say $res.data.name;

TODO

Patches welcome

Setup

Authentication

One can order the library to authenticate using one of three different ways. Depending on which way you choose you need to pass a different set of arguments to the constructor:

Other constructor arguments

Response