Help language development. Donate to The Perl Foundation

WebService::GitHub zef:raku-community-modules last updated on 2022-06-10

dff3d4aaa83118b233ed625bec90c6056e6daf35/

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