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.
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.