mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-12 00:33:58 +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',
|
||||
timeout: 3000,
|
||||
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) {
|
||||
if ( data.data && data.data.length ) {
|
||||
var $ul = $('<ul></ul>'), dataLength = data.data.length;
|
||||
|
Reference in New Issue
Block a user