Comments (7)
That's weird, I'm able to get full lists for both contributors and stargazers:
julia> stargazers("julialang", "julia", auth = a)
5107-element Array{User,1}:
User - brixen
User - daksis
User - willcodeforfoo
User - lancecarlson
User - DocSavage
User - brapse
User - vic
User - sbusso
User - raggi
User - methodmissing
User - brainopia
User - jarkko
User - auser
User - jarib
⋮
User - paegun
User - usptact
User - markdjthomas
User - zhengxwen
User - tpapp
User - hellerve
User - 315234
User - SimonDanisch
User - wxia
User - hibiu1
User - shyam057cs
User - twolodzko
User - jsbee
Maybe the problem is with unauthenticated requests? Unfortunately I can't test here, unauthenticated requests from my ip address are being blocked by github for some reason...
from github.jl.
Oh, it has been so long since I've looked at this, totally forgot about https://github.com/WestleyArgentum/GitHub.jl/blob/master/src/utils.jl#L53
So stargazers
, contributors
, etc, should be making the repeated requests for you (and I'm not being blocked by github, I'm making too many calls haha).
from github.jl.
Sorry for totally narrating the debugging process, realized that you had attempt_stats_request
in the title and that my list of contributors was in fact truncated. Looks like we need to work get_pages
into stats requests
from github.jl.
Alas! I refactored this to support paging, only to discover that github doesn't do paging for contributors because it's too expensive an operation: https://stackoverflow.com/questions/18148490/how-can-i-get-more-than-100-results-from-github-api-v3-using-github-api-gem
So I guess this is as fixed as I can make it -- if github ever flips the switch and turns on paging for contributors then it should work
from github.jl.
Actually you can get paginated contributors using a different URL:
https://api.github.com/repos/JuliaLang/julia/contributors?page=2
It doesn't contain the weeks information but I don't think many people use that anyway. (I certainly don't need it for World of Julia.)
from github.jl.
Interesting, I'll try looking into that then
from github.jl.
Please have a look at that pull request and let me know if it works for you
from github.jl.
Related Issues (20)
- Missing support for self-hosted GitHub with API containing prefix. HOT 1
- Missing SSH url and clone url for repositories. HOT 1
- Include events end-point
- collaborators raises ERROR: map is not defined on dictionaries HOT 1
- TagBot trigger issue HOT 14
- "Must have admin rights" to delete a repo for which I have admin rights HOT 3
- can i call my github julia package in R/Python via restapi? HOT 2
- Add support for releases and uploading files to releases HOT 2
- `GitHub.contributors` gives 404 but REST API works fine HOT 2
- regex error in handle_comment HOT 9
- Tag Release HOT 2
- FR: Built-in function to iterate paginated results
- Add repository topic functions
- Catch-all `run` definition causes stack overflows
- Add organization invite functionality HOT 1
- Auth issues when using GitHub.jl with GitHub actions
- Remove handle_comment collaborator check
- Feature request: add tree field to Commit
- Error type HOT 1
- Make new release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github.jl.