{"id":18981433,"url":"https://github.com/awncorp/api-github","last_synced_at":"2025-09-13T14:26:49.898Z","repository":{"id":77256353,"uuid":"300956692","full_name":"awncorp/api-github","owner":"awncorp","description":"Github.com API Client","archived":false,"fork":false,"pushed_at":"2020-10-03T20:32:53.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-12T03:28:50.436Z","etag":null,"topics":["api-client","perl","perl5"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awncorp.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T19:03:54.000Z","updated_at":"2022-07-24T20:54:43.000Z","dependencies_parsed_at":"2023-02-27T09:31:16.115Z","dependency_job_id":null,"html_url":"https://github.com/awncorp/api-github","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awncorp/api-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awncorp","download_url":"https://codeload.github.com/awncorp/api-github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274976888,"owners_count":25384285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","perl","perl5"],"created_at":"2024-11-08T16:09:49.337Z","updated_at":"2025-09-13T14:26:49.863Z","avatar_url":"https://github.com/awncorp.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\n    API::Github - Github.com API Client\n\nVERSION\n\n    version 0.06\n\nSYNOPSIS\n\n        use API::Github;\n    \n        my $github = API::Github-\u003enew(\n            username   =\u003e 'USERNAME',\n            token      =\u003e 'TOKEN',\n            identifier =\u003e 'APPLICATION NAME',\n        );\n    \n        $github-\u003edebug(1);\n        $github-\u003efatal(1);\n    \n        my $user = $github-\u003eusers('h@x0r');\n        my $results = $user-\u003efetch;\n    \n        # after some introspection\n    \n        $user-\u003eupdate( ... );\n\nDESCRIPTION\n\n    This distribution provides an object-oriented thin-client library for\n    interacting with the Github (http://github.com) API. For usage and\n    documentation information visit https://developer.github.com/v3.\n    API::Github is derived from API::Client and inherits all of it's\n    functionality. Please read the documentation for API::Client for more\n    usage information.\n\nATTRIBUTES\n\n identifier\n\n        $github-\u003eidentifier;\n        $github-\u003eidentifier('IDENTIFIER');\n\n    The identifier attribute should be set to a string that identifies your\n    application.\n\n token\n\n        $github-\u003etoken;\n        $github-\u003etoken('TOKEN');\n\n    The token attribute should be set to the API user's personal access\n    token.\n\n username\n\n        $github-\u003eusername;\n        $github-\u003eusername('USERNAME');\n\n    The username attribute should be set to the API user's username.\n\n debug\n\n        $github-\u003edebug;\n        $github-\u003edebug(1);\n\n    The debug attribute if true prints HTTP requests and responses to\n    standard out.\n\n fatal\n\n        $github-\u003efatal;\n        $github-\u003efatal(1);\n\n    The fatal attribute if true promotes 4xx and 5xx server response codes\n    to exceptions, a API::Client::Exception object.\n\n retries\n\n        $github-\u003eretries;\n        $github-\u003eretries(10);\n\n    The retries attribute determines how many times an HTTP request should\n    be retried if a 4xx or 5xx response is received. This attribute\n    defaults to 0.\n\n timeout\n\n        $github-\u003etimeout;\n        $github-\u003etimeout(5);\n\n    The timeout attribute determines how long an HTTP connection should be\n    kept alive. This attribute defaults to 10.\n\n url\n\n        $github-\u003eurl;\n        $github-\u003eurl(Mojo::URL-\u003enew('https://api.github.com'));\n\n    The url attribute set the base/pre-configured URL object that will be\n    used in all HTTP requests. This attribute expects a Mojo::URL object.\n\n user_agent\n\n        $github-\u003euser_agent;\n        $github-\u003euser_agent(Mojo::UserAgent-\u003enew);\n\n    The user_agent attribute set the pre-configured UserAgent object that\n    will be used in all HTTP requests. This attribute expects a\n    Mojo::UserAgent object.\n\nMETHODS\n\n action\n\n        my $result = $github-\u003eaction($verb, %args);\n    \n        # e.g.\n    \n        $github-\u003eaction('head', %args);    # HEAD request\n        $github-\u003eaction('options', %args); # OPTIONS request\n        $github-\u003eaction('patch', %args);   # PATCH request\n\n    The action method issues a request to the API resource represented by\n    the object. The first parameter will be used as the HTTP request\n    method. The arguments, expected to be a list of key/value pairs, will\n    be included in the request if the key is either data or query.\n\n create\n\n        my $results = $github-\u003ecreate(%args);\n    \n        # or\n    \n        $github-\u003ePOST(%args);\n\n    The create method issues a POST request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n delete\n\n        my $results = $github-\u003edelete(%args);\n    \n        # or\n    \n        $github-\u003eDELETE(%args);\n\n    The delete method issues a DELETE request to the API resource\n    represented by the object. The arguments, expected to be a list of\n    key/value pairs, will be included in the request if the key is either\n    data or query.\n\n fetch\n\n        my $results = $github-\u003efetch(%args);\n    \n        # or\n    \n        $github-\u003eGET(%args);\n\n    The fetch method issues a GET request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n update\n\n        my $results = $github-\u003eupdate(%args);\n    \n        # or\n    \n        $github-\u003ePUT(%args);\n\n    The update method issues a PUT request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\nRESOURCES\n\n emojis\n\n        $github-\u003eemojis;\n\n    The emojis method returns a new instance representative of the API\n    emojis resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://developer.github.com/v3/emojis.\n\n events\n\n        $github-\u003eevents;\n\n    The events method returns a new instance representative of the API\n    events resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://developer.github.com/v3/activity/events.\n\n feeds\n\n        $github-\u003efeeds;\n\n    The feeds method returns a new instance representative of the API feeds\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://developer.github.com/v3/activity/feeds.\n\n gists\n\n        $github-\u003egists;\n\n    The gists method returns a new instance representative of the API gists\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://developer.github.com/v3/gists.\n\n gitignore\n\n        $github-\u003egitignore;\n\n    The gitignore method returns a new instance representative of the API\n    gitignore resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://developer.github.com/v3/gitignore.\n\n issues\n\n        $github-\u003eissues;\n\n    The issues method returns a new instance representative of the API\n    issues resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://developer.github.com/v3/issues.\n\n licenses\n\n        $github-\u003elicenses;\n\n    The licenses method returns a new instance representative of the API\n    licenses resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://developer.github.com/v3/licenses.\n\n markdown\n\n        $github-\u003emarkdown;\n\n    The markdown method returns a new instance representative of the API\n    markdown resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://developer.github.com/v3/markdown.\n\n meta\n\n        $github-\u003emeta;\n\n    The meta method returns a new instance representative of the API meta\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://developer.github.com/v3/meta.\n\n notifications\n\n        $github-\u003enotifications;\n\n    The notifications method returns a new instance representative of the\n    API notifications resource requested. This method accepts a list of\n    path segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://developer.github.com/v3/activity/notifications.\n\n orgs\n\n        $github-\u003eorgs;\n\n    The orgs method returns a new instance representative of the API orgs\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://developer.github.com/v3/orgs.\n\n rate_limit\n\n        $github-\u003erate_limit;\n\n    The rate_limit method returns a new instance representative of the API\n    rate_limit resource requested. This method accepts a list of path\n    segments which will be used in the HTTP request. The following\n    documentation can be used to find more information.\n    https://developer.github.com/v3/rate_limit.\n\n repos\n\n        $github-\u003erepos;\n\n    The repos method returns a new instance representative of the API repos\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://developer.github.com/v3/repos.\n\n search\n\n        $github-\u003esearch;\n\n    The search method returns a new instance representative of the API\n    search resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://developer.github.com/v3/search.\n\n users\n\n        $github-\u003eusers;\n\n    The users method returns a new instance representative of the API users\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://developer.github.com/v3/users.\n\nAUTHOR\n\n    Al Newkirk \u003canewkirk@ana.io\u003e\n\nCOPYRIGHT AND LICENSE\n\n    This software is copyright (c) 2014 by Al Newkirk.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawncorp%2Fapi-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-github/lists"}