DOKK / manpages / debian 10 / libnet-github-perl / Net::GitHub::V3::Query.3pm.en
Net::GitHub::V3::Query(3pm) User Contributed Perl Documentation Net::GitHub::V3::Query(3pm)

Net::GitHub::V3::Query - Base Query role for Net::GitHub::V3

    package Net::GitHub::V3::XXX;
    use Moo;
    with 'Net::GitHub::V3::Query';

set Authentication and call API

ATTRIBUTES

Either set access_token from OAuth or login:pass for Basic Authentication

<http://developer.github.com/>

API throttling is enabled by default, set api_throttle to 0 to disable it.
The maximum number of queries allowed per hour. 60 for anonymous users and 5,000 for authenticated users.
The number of requests remaining in the current rate limit window.
The time the current rate limit resets in UTC epoch seconds.
Denotes the index of the last page in the pagination

METHODS

Refer Net::GitHub::V3
Calls "query" with "next_url". See Net::GitHub::V3
Calls "query" with "prev_url". See Net::GitHub::V3
Calls "query" with "first_url". See Net::GitHub::V3
Calls "query" with "last_url". See Net::GitHub::V3
Adjusts next_url to be a new url in the pagination space I.E. you are jumping to a new index in the pagination
For internal use by the item-per-item pagination: This is a store of the state(s) for the pagination. Each entry maps the initial URL of a GitHub query to a Net::GitHub::V3::ResultSet object.
Returns the next item for the query which started at $url, or undef if there are no more items.
Terminates the item-per-item pagination for the query which started at $url.

NG_DEBUG

export NG_DEBUG=1 to view the request URL

NG_DEBUG > 1 to view request/response string

Refer Net::GitHub

2018-04-07 perl v5.26.1