PxMagic icon indicating copy to clipboard operation
PxMagic copied to clipboard

this a wrapper, made in python, for using the 500px api

Results 8 PxMagic issues
Sort by recently updated
recently updated
newest added

line 13 is "from helpers.authentication import get_consumer_key", should be "from fhp.helpers.authentication..."

line 18, "api = FiveHundredPx(CONSUMER_KEY)" where "FiveHundredPx" is an unresolved reference.

line 12 is "from src.five_hundred_px import *", should be "from fhp.src.five_hundred_px import *", since there is no such module as "src".

line 13 is "from fhp import api", but should be "from fhp import api, src", otherwise the next statement "FiveHundredPx = src.five_hundred_px.FiveHundredPx" throws an error since "src" is not defined.

Fixing issue #8

Looks like setup.py was lost in an old branch. I pulled it back, because installation is a pain otherwise.

It looks like the call to photo_search is not sorting correctly. To reproduce: ``` python 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'])...