NAME
Net::GitHub::V3::Query - Base Query role for Net::GitHub::V3
SYNOPSIS
package Net::GitHub::V3::XXX;
use Moo;
with 'Net::GitHub::V3::Query';
DESCRIPTION
set Authentication and call API
ATTRIBUTES
- login
- pass
- access_token
-
Either set access_token from OAuth or login:pass for Basic Authentication
- raw_string
- raw_response
- api_throttle
-
API throttling is enabled by default, set api_throttle to 0 to disable it.
- rate_limit
-
The maximum number of queries allowed per hour. 60 for anonymous users and 5,000 for authenticated users.
- rate_limit_remaining
-
The number of requests remaining in the current rate limit window.
- rate_limit_reset
-
The time the current rate limit resets in UTC epoch seconds.
- RaiseError
METHODS
- query
-
Refer Net::GitHub::V3
- next_page
-
Calls
query
withnext_url
. See Net::GitHub::V3
NG_DEBUG
export NG_DEBUG=1 to view the request URL
NG_DEBUG > 1 to view request/response string
AUTHOR & COPYRIGHT & LICENSE
Refer Net::GitHub