mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 01:03:57 +02:00
Maximum number of contributors in a single request
The Github api limits results to 30 per page by default. The maximum for a single result of contributors is 100.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
dataType: 'jsonp',
|
dataType: 'jsonp',
|
||||||
timeout: 3000,
|
timeout: 3000,
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: 'https://api.github.com/repos/codeguy/php-the-right-way/contributors'
|
url: 'https://api.github.com/repos/codeguy/php-the-right-way/contributors?per_page=100'
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
if ( data.data && data.data.length ) {
|
if ( data.data && data.data.length ) {
|
||||||
var $ul = $('<ul></ul>'), dataLength = data.data.length;
|
var $ul = $('<ul></ul>'), dataLength = data.data.length;
|
||||||
|
Reference in New Issue
Block a user