{"id":19640451,"url":"https://github.com/kentnl/net-travis-api","last_synced_at":"2025-09-04T16:44:11.796Z","repository":{"id":14104679,"uuid":"16809163","full_name":"kentnl/Net-Travis-API","owner":"kentnl","description":"Low Level Plumbing for travis-ci.org's api","archived":false,"fork":false,"pushed_at":"2016-04-27T14:19:27.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T22:44:54.206Z","etag":null,"topics":["perl"],"latest_commit_sha":null,"homepage":null,"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/kentnl.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":"CONTRIBUTING.pod","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-13T16:33:31.000Z","updated_at":"2016-04-27T12:34:22.000Z","dependencies_parsed_at":"2022-09-04T10:31:57.414Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Net-Travis-API","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kentnl/Net-Travis-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FNet-Travis-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FNet-Travis-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FNet-Travis-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FNet-Travis-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Net-Travis-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FNet-Travis-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273641118,"owners_count":25142242,"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-04T02:00:08.968Z","response_time":61,"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":["perl"],"created_at":"2024-11-11T14:05:50.069Z","updated_at":"2025-09-04T16:44:11.745Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nNet::Travis::API - Low Level Plumbing for travis-ci.org's api\n\n# VERSION\n\nversion 0.002001\n\n# DEVELOPMENT\n\nThis code is highly in-development, and is feature incomplete, and does not presently represent all API functions available.\n\nAt present, most the functionality is lower-level plumbing functions which should eventually give way to a higher level API.\n\nBut code endeavors to approach better coverage eventually, and hopefully serve as a better documentation than Travis's own API\ndocs, which were so lackluster I had to resort to sniffing their websites traffic from my browser to understand what was going\non.\n\n# AUTHENTICATION\n\nPresently this module only covers the overhead of getting authentication working with travis, so that you can do arbitrary\nrequests and get useful responses.\n\nAnd this was the #1 challenge from the Travis API docs, because this process is poorly documented, and fettered with\ndocumentation about things documented not to be implemented yet.\n\nSo, at present, you have several options:\n\n- 1. Work with an unauthenticated User Agent.\n\n        use Net::Travis::API::UA;\n\n        my $ua = Net::Travis::API::UA-\u003enew();\n\n        $ua-\u003eget('/repos/someuser'); # Public Endpoint\n\n- 2. Use the GitHub Authentication Module to get an authenticated agent.\n\n        use Net::Travis::API::Auth::GitHub;\n\n        my $ua = Net::Travis::API::Auth::GitHub-\u003eget_authorised_ua_for( $token );\n\n        $ua-\u003eget('/users'); # private endpoint\n\n- 3. Get an authorization token some other way.\n\n    And avoid incurring an authorization request overhead.\n\n        use Net::Travis::API::UA;\n\n        my $ua = Net::Travis::API::UA-\u003enew(\n            authtokens =\u003e [ $token ]\n        );\n\n        $ua-\u003eget('/users'); # private endpoint\n\n# AUTHOR\n\nKent Fredric \u0026lt;kentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2016 by Kent Fredric \u0026lt;kentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fnet-travis-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fnet-travis-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fnet-travis-api/lists"}