Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to work with the changed flickr api #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

docsmooth
Copy link

Changed the way the flickapi is called, to include the secret key and username, which appear to be required, in FlickrAPI:

class FlickrAPI(object):
REST_URL = 'https://api.flickr.com/servicesrest/'
UPLOAD_URL = 'https://up.flickr.com/services/upload/'
REPLACE_URL = 'https://up.flickr.com/services/replace/'

def __init__(self, api_key, secret, username=None,
        token=None, format='etree', store_token=True,
        cache=False):                   

Everything except for api_key and secret have a default. The original was only calling with "api_key" filled in, but bailing. I also update ed the test to use my username, and now that passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants