Naughty Program Manipulator
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    flickr-reflectionpublic

    flickr api reflected

    A flickr client for node.js that uses the reflection api.

    Install

    npm install flickr-reflection
    

    Example

    var flickr = require('flickr-reflection');
    var options = {
        key: 'add_your_flickr_key',
        secret: 'add_your_flickr_secret',
        apis: ['contacts', 'photos'] // add the apis you'd like to use
    };
    flickr.connect(options, function(err, api) {
        if (err) throw err;
    
        api.contacts.getList(function(err, data) {
            if (err) throw err;
    
            sys.puts(sys.inspect(data.contacts.contact));
        });
    
        api.photos.search({tags: 'beach,iceland'}, function(err, data) {
            if (err) throw err;
    
            sys.puts(sys.inspect(data.photos.photo));
        });
    });
    

    Dependencies

    If you need to use signed methods you have to install node with openssl.

    Keywords

    none

    install

    npm i flickr-reflection

    Downloadsweekly downloads

    5

    version

    0.0.1

    license

    none

    collaborators

    • avatar