2.1.0 • Published 5 years ago

flickr-photo-url v2.1.0

Weekly downloads
29
License
ISC
Repository
github
Last release
5 years ago

flickr-photo-url 📷

To get a simple file, you need a Flickr API key. To get a Flickr API key, you need a Flickr account. A Flickr account is a Yahoo account. To get a Yahoo account, you need to give your full name, birth date & phone number.

In opposition to flickr-photo-urls, this module gives you the direct URL of any Flickr photo without an API key..

npm version build status dependency status dev dependency status js-standard-style install size ISC-licensed chat on gitter support me on Patreon

Installing

npm install flickr-photo-url

Usage

url(user, photoId, [size])
const url = require('flickr-photo-url')

url('gilad_rom', 24148019753, url.sizes.original)
  .catch(console.error).then(console.log)
// -> https://c2.staticflickr.com/2/1534/24148019753_bc3bb60f50_o.jpg

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

8 years ago

0.1.0

8 years ago