Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 632 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 632 Bytes

node-flickr

A very simple handler to take the pain out of flickr api calls in node.js

Example usage:

var Flickr = require('./flickr').Flickr;
var sys = require('sys');

var flickr = new Flickr(your_api_key);
var photos = flickr.photos.search({ "tags" : "cows,fluffy", "extras": "date_taken" });
photos.addCallback(function(data){
  sys.p(data);
});
photos.addErrback(function(code, msg){
  sys.puts('code: '+ code + " msg: " + msg);
});

Todo:

Currently won't sent authentication until method descriptions are updated for every api. Authentication section hasn't yet been written.