# flickr-photo-urls

> Get source urls with varied sizes of a Flickr photo

Latest version **0.0.2** (published 2016-04-12) · BSD license · 0 weekly downloads

## Install

```sh
npm install flickr-photo-urls
pnpm add flickr-photo-urls
yarn add flickr-photo-urls
bun add flickr-photo-urls
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-04-12 |
| First published | 2014-06-15 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | azer |
| Maintainers | zeke |
| Keywords | flickr, photos, photography, api, client |

## Links

- npm: https://www.npmjs.com/package/flickr-photo-urls
- Repository: https://github.com/npm-flickr/flickr-photo-urls
- Homepage: https://github.com/npm-flickr/flickr-photo-urls#readme
- Issues: https://github.com/npm-flickr/flickr-photo-urls/issues
- npm.io page: https://npm.io/package/flickr-photo-urls

## Dependencies (2)

- [flickr-client](https://npm.io/package/flickr-client.md) 0.0.x
- [variable-name](https://npm.io/package/variable-name.md) 0.0.1

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2016-04-12
- 0.0.1-security — 2016-03-23
- 2.0.0 — 2016-03-22
- 0.0.1 — 2014-06-18
- 0.0.0 — 2014-06-15

## README

## flickr-photo-urls

Get source urls with varied sizes of a Flickr photo

## Install

```bash
$ npm install flickr-photo-urls
```

## Usage

```js
var urls = require('flickr-photo-urls')({
  key: 'api-key'
})

urls('14321741011', function (error, result) {
  if (error) return callback(error);

  result.square
  // => { "label": "Square", "width": 75, "height": 75, "source": "https:\/\/farm3.staticflickr.com\/2922\/14321741011_aeb3b41d62_s.jpg", "url": "https:\/\/www.flickr.com\/photos\/azer\/14321741011\/sizes\/sq\/", "photo": true }

  result.large2048
  // => { "label": "Large 2048", "width": 2048, "height": 1365, "source": "https:\/\/farm3.staticflickr.com\/2922\/14321741011_3c581b37ec_k.jpg", "url": "https:\/\/www.flickr.com\/photos\/azer\/14321741011\/sizes\/k\/", "photo": true }
})
```

See `test.js` for more info.

[flickr-client](http://github.com/npm-flickr/flickr-client) can be passed to avoid repeating auth options:

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

var urls = require('flickr-photo-urls')(client)
```

---
_Source: https://npm.io/package/flickr-photo-urls · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
