flickr-cli

1.2.0 • Public • Published

Command line interface for Flickr.

Still in development, more edit mode to come.

Install

npm install -g flickr-cli

Login

Login is interactive and requires for you to grant access rights to your Flickr account. To trigger the login process, launch:

flickr login

Then follow directions. You need to copy and paste a URL into your browser, then grant access.

Flickr-cli is not designed to work in non-auth'ed mode for now.

Upload

flickr upload filename.jpg otherfile.png somethingelse/*.jpg

In the future uploaded files will be added to a staging area for management (such as, adding to album, editing privacy, or sharing)

Albums

All commands for album management start with:

flickr album [command]

Listing all albums

flickr album index [--fields id title description [...] ] [--noheaders]

Returns a list of albums.

  • --fields or -f (optional) give a list of fields to include in the list. Can be '*' to include all. Defaults to title
  • --noheaders or -H (optional) remove field names from output.
  • --separator ';' or -s ',' (optional) specify separator

Listing photos in an album

flickr album list 17837128371 [--fields xxx]

Returns a list of photos and videos in an album. You can specify more than one albumid. All options for display setting in an album are valid here.

Dependencies (6)

Dev Dependencies (4)

Package Sidebar

Install

npm i flickr-cli

Weekly Downloads

8

Version

1.2.0

License

ISC

Unpacked Size

61.5 kB

Total Files

29

Last publish

Collaborators

  • cfe84