Skip to content

rsrchboy/github-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Kwalitee status Coverage Status

NAME

GitHub::API - An itty-bitty interface to the GitHub API

VERSION

This document describes version 0.000000_04 of GitHub::API - released May 10, 2015 as part of GitHub-API.

SYNOPSIS

# tiny little chaining interface
use GitHub::API;
use autobox::JSON;

say GitHub::API
    ->new
    ->user
    ->repo("moosex-attributeshortcuts")
    ->hooks
    ->all
    ->to_json
    ;

DESCRIPTION

WARNING: THIS IS INCOMPLETE AND WILL EAT YOUR REPOSITORIES!

This is a very small interface to the GitHub v3 API, designed to do simple things quickly, and with a minimum of fuss.

METHODS

new(user => $userid, token => $gh_token)

Returns a new instance; requires a valid GitHub user name and OAuth2 token. We do not support unauthenticated access.

user

Returns a GitHub::API::User object representing the authenticated user.

org($org_name)

Returns a GitHub::API::Org object representing the named organization.

SEE ALSO

Please see those modules/websites for more information related to this module.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/github-api/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Chris Weyl cweyl@alumni.drew.edu

I'm a material boy in a material world

Please note I do not expect to be gittip'ed or flattr'ed for this work, rather it is simply a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you if you feel like it ;)

Flattr, Gratipay, or indulge my Amazon Wishlist... If and *only* if you so desire.

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Chris Weyl.

This is free software, licensed under:

The GNU Lesser General Public License, Version 2.1, February 1999

About

My teeny little old-school, wicked-easy, chaining interface to the GitHub API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages