Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.synopsys.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
Hi all,
I have a very basic problem in forming my queries, and I really hope you can help me.
I want to get the contributors.xml for the f-spot project. My first query is:
GET http://www.ohloh.net/projects/f-spot/contributors.xml?api_key={my key}
It works, and I get the first 10 items.
However, I need the complete .xml, so I do:
GET http://www.ohloh.net/projects/f-spot/contributors.xml?api_key={my key}&page=2
But I get still the first 10 items. What am I doing wrong?
Hi gconaldi,
I have a very unsatisfying answer for you -- it looks like you are doing the right thing, and when I try your URLs, they work for me.
Exactly how are you doing your GET? Is it possible that your page
param is being stripped away somehow?
Try using curl
or wget
and see what answers you get back. For instance, this seems to be working for me:
wget -q -O - 'http://www.ohloh.net/projects/f-spot/contributors.xml?api_key={my key}&page=2'
Good luck. If you come up with anything or need more help let me know.
Robin
PS. Possibly stupid hint: note that if you are passing this URL to curl
or wget
on the command line, you have to be sure to put the URL in quotes or the &
character will be interpreted by the shell -- which would have the effect of stripping off the page
param, which is exactly the effect you are seeing.
Hello all,
Please I want to retrieve the first current 1000 projects from the Ohloh accounts for my project to analyse the contributor parameters using Social Network Analysis but seems to miss out on exactly what I need to do to retrieve this first thousand project.
Any help or advice for me will be very helpful and appreciated. Thanks