PxMagic icon indicating copy to clipboard operation
PxMagic copied to clipboard

photo_search not sorting correctly

Open toyg opened this issue 12 years ago • 0 comments

It looks like the call to photo_search is not sorting correctly. To reproduce:

api = FiveHundredPx(CONSUMER_KEY, CONSUMER_SECRET)
pics = api.photo_search(term='Bologna',sort='votes_count')
for i in xrange(0,20):
    pic = pics.next()
    print(pic['votes_count'])

toyg avatar Jul 15 '13 15:07 toyg