Skip to content

npm-flickr/flickr-recent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flickr-recent

Get recent uploaded photos on Flickr. Demo: requirebin.com/embed?gist=6d64be46a59565c7db6d

Install

$ npm install flickr-recent

Usage

var recent = require('flickr-recent')({
  key: 'api-key'
})

recent(function (error, result) {
  photos.length
  // => 100

  photos[0]
  // => { "id": "14261747769", "owner": "38040930@N05", "secret": "ed6e9380d7", "server": "2925", "farm": 3, "title": "Desert Camo BumbleBot one off #mikedie #bumblebot #resin #dunny #rwk #transformers #bumblebee #camo  Mikedie.bigcartel.com", "ispublic": 1, "isfriend": 0, "isfamily": 0 }
})

flickr-client can be passed to avoid repeating auth options:

var client = require('flickr-client')({
  key: 'api-key'
});

var recent = require('flickr-recent')(client)

About

Get recent photos uploaded on Flickr

Resources

Stars

Watchers

Forks

Packages

No packages published