-
-
17 Apr 2022 04:27:28 UTC
- Distribution: Net-GitHub
- Module version: 1.03
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (170 / 0 / 0)
- Kwalitee
Bus factor: 1- 28.39% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (43.36KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 52 contributors- Fayland Lam, C<< <fayland at gmail.com> >>
-
Alan Berndt
-
Alex Muntada
-
Alex Vandiver
-
brian d foy
-
c9s
-
Chris Nehren
-
Christine Spang
-
Chris Williams
-
Danijel Tasov
-
David Golden
-
David Precious
-
fayland
-
Finn Smith
-
franck cuny
-
Graham Knop
-
Grant McLean
-
gregor herrmann
-
Harald Jörg
-
hiroraba
-
Hristo Dragolov
-
Ioan Rogers
-
Jason Dorweiller
-
jddorweiler
-
Jesse Luehrs
-
Jesse Vincent
-
JJ Merelo
-
Johannes Kilian
-
John 'Warthog9' Hawley
-
Jonathan Gopel
-
J.R. Mash
-
Kevin Falcone
-
Kirk Kimmel
-
Leigh Hart
-
Lubomir Rintel
-
Makoto Sasaki
-
Michael G. Schwern
-
mikegrb
-
mschilli
-
nebulous
-
Neil Bowers
-
Nicolas R
-
PF4Public
-
sillymoose
-
sunnavy
-
Tim Vroom
-
Todd Rinaldo
-
unknown
-
Vincent Lequertier
-
Will Orr
-
Zak Wilcox
-
積丹尼 Dan Jacobson
NAME
Net::GitHub::V3::ResultSet - GitHub query iteration helper
SYNOPSIS
For use by the role Net::GitHub::V3::Query:
use Net::GitHub::V3::ResultSet; $result_set = Net::GitHub::V3::ResultSet->new( url => $url ); ...
DESCRIPTION
Objects in this class store the current status of a GitHub query while the user iterates over individual items. This happens behind the scenes, users of Net::GitHub::V3 don't need to know about this class.
Each of the V3 submodules holds one of these objects for every different pageable query which it handles.
The attributes have the following function:
- url
-
Required for creating the object: This is the URL where a pageable GitHub query starts, and this URL will be used to identify the pagination when retrieving the next object, and also for the first call to the GitHub API.
- results
-
An array reference holding the current page as retrieved by the most recent call to the GitHub API.
- cursor
-
An integer pointing to the "next" position within the current page from which the next method will fetch an item.
- done
-
A boolean indicating that there's no more item to be fetched from the API: The current results are the last.
- next_url
-
The url from which more results can be fetched. Will be empty if there are no more pages.
Module Install Instructions
To install Net::GitHub, copy and paste the appropriate command in to your terminal.
cpanm Net::GitHub
perl -MCPAN -e shell install Net::GitHub
For more information on module installation, please visit the detailed CPAN module installation guide.