1Net::GitHub::V3::Query(U3s)er Contributed Perl DocumentatNieotn::GitHub::V3::Query(3)
2
3
4
6 Net::GitHub::V3::Query - Base Query role for Net::GitHub::V3
7
9 package Net::GitHub::V3::XXX;
10
11 use Moo;
12 with 'Net::GitHub::V3::Query';
13
15 set Authentication and call API
16
17 ATTRIBUTES
18 login
19 pass
20 access_token
21 Either set access_token from OAuth or login:pass for Basic
22 Authentication
23
24 <http://developer.github.com/>
25
26 raw_string
27 raw_response
28 api_throttle
29 API throttling is enabled by default, set api_throttle to 0 to
30 disable it.
31
32 rate_limit
33 The maximum number of queries allowed per hour. 60 for anonymous
34 users and 5,000 for authenticated users.
35
36 rate_limit_remaining
37 The number of requests remaining in the current rate limit window.
38
39 rate_limit_reset
40 The time the current rate limit resets in UTC epoch seconds.
41
42 last_page
43 Denotes the index of the last page in the pagination
44
45 RaiseError
46
47 METHODS
48 query
49 Refer Net::GitHub::V3
50
51 next_page
52 Calls "query" with "next_url". See Net::GitHub::V3
53
54 prev_page
55 Calls "query" with "prev_url". See Net::GitHub::V3
56
57 first_page
58 Calls "query" with "first_url". See Net::GitHub::V3
59
60 last_page
61 Calls "query" with "last_url". See Net::GitHub::V3
62
63 set_next_page
64 Adjusts next_url to be a new url in the pagination space I.E. you
65 are jumping to a new index in the pagination
66
67 result_sets
68 For internal use by the item-per-item pagination: This is a store
69 of the state(s) for the pagination. Each entry maps the initial
70 URL of a GitHub query to a Net::GitHub::V3::ResultSet object.
71
72 next($url)
73 Returns the next item for the query which started at $url, or undef
74 if there are no more items.
75
76 close($url)
77 Terminates the item-per-item pagination for the query which started
78 at $url.
79
80 NG_DEBUG
81
82 export NG_DEBUG=1 to view the request URL
83
84 NG_DEBUG > 1 to view request/response string
85
87 Refer Net::GitHub
88
89
90
91perl v5.30.1 2020-03-06 Net::GitHub::V3::Query(3)