Socket
Book a DemoInstallSign in
Socket

flickr-user

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flickr-user

Find a Flickr user by username

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

flickr-user

Find a Flickr user by username. Unlike Flickr's official API, this module assumes that username is whatever appears in the URL.

e.g: if user's url is flickr.com/azer, its user name is "azer"

Install

$ npm install flickr-user

Usage

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

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

user('azer', function (error, azer) {

  azer.id
  // => 98269877@N00

  azer.name
  // => "azer"

})

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

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

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

Keywords

flickr

FAQs

Package last updated on 12 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts