GitHub::API - An itty-bitty interface to the GitHub API
This document describes version 0.000000_04 of GitHub::API - released May 10, 2015 as part of GitHub-API.
# tiny little chaining interface use GitHub::API; use autobox::JSON; say GitHub::API ->new ->user ->repo("moosex-attributeshortcuts") ->hooks ->all ->to_json ;
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.
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.
Returns a GitHub::API::User object representing the authenticated user.
Returns a GitHub::API::Org object representing the named organization.
Please see those modules/websites for more information related to this module.
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.
Chris Weyl email@example.com
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 ;)
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