# flickr-photoset-info

> Get info for all photos in a Flickr set (now called albums)

Latest version **1.4.0** (published 2016-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install flickr-photoset-info
pnpm add flickr-photoset-info
yarn add flickr-photoset-info
bun add flickr-photoset-info
```

Provides the command `flickr-photoset-info`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2016-01-23 |
| First published | 2015-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zeke |
| Maintainers | zeke |
| Keywords | Flickr, API, sets, albums, JSON, metadata, CLI |

## Links

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

## Dependencies (7)

- [async](https://npm.io/package/async.md) ^1.5.0
- [dotenv](https://npm.io/package/dotenv.md) ^1.2.0
- [userhome](https://npm.io/package/userhome.md) ^1.0.0
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.0.1
- [flickr-client](https://npm.io/package/flickr-client.md) 0.0.3
- [flickr-photo-info](https://npm.io/package/flickr-photo-info.md) 0.0.0
- [flickr-photo-urls](https://npm.io/package/flickr-photo-urls.md) 0.0.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.4.0 (latest) — 2016-01-23
- 1.3.0 — 2016-01-23
- 1.2.0 — 2016-01-23
- 1.1.0 — 2015-11-26
- 1.0.0 — 2015-11-26

## README

# flickr-photoset-info

Get info for all photos in a Flickr set (now called albums).

## Why?

The Flickr API's [photosets.getPhotos](https://www.flickr.com/services/api/flickr.photosets.getPhotos.html)
endpoint returns an array of photo metadata, but that metadata is lacking. The response doesn't include the actual
URLs to the photos. This package simplifies the process of getting all metadata by asynchronously fetching
metadata for every photo in the set.

## Programmatic Usage

```sh
npm install flickr-photoset-info --save
```

```js
const photoset = require('flickr-photoset-info')
const setId = '72157646234635567'

photoset(setId, {key: process.env.FLICKR_KEY}, function (err, photos) {
  if (err) throw err
  console.log(photos)
})
```

## Command Line Usage

Install the package globally.

```sh
npm i -g flickr-photoset-info
```
The first time you invoke the command, it will
tell you how to set up your Flickr API key.

Then pass it a photoset ID:

```sh
flickr-photoset-info 72157646234635567
```

The resulting JSON will be printed to STDOUT. To pipe it into a file:

```sh
flickr-photoset-info 72157646234635567 > data.json
```

## Tests

```sh
npm install
npm test
```

## Dependencies

- [async](https://github.com/caolan/async): Higher-order functions and common patterns for asynchronous code
- [dotenv](https://github.com/motdotla/dotenv): Loads environment variables from .env file
- [flickr-client](https://github.com/npm-flickr/flickr-client): Flickr API Client
- [flickr-photo-info](https://github.com/npm-flickr/flickr-photo-info): Get info of a photo on Flickr
- [flickr-photo-urls](https://github.com/npm-flickr/flickr-photo-urls): Get source urls with varied sizes of a Flickr photo
- [lodash.merge](https://github.com/lodash/lodash): The lodash method `_.merge` exported as a module.
- [userhome](https://github.com/shama/userhome): A cross-platform path to the user&#39;s home

## Dev Dependencies

- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework
- [nixt](https://github.com/vesln/nixt): Simple and powerful testing for command-line apps
- [standard](https://github.com/feross/standard): JavaScript Standard Style

## License

MIT

[![Build Status](https://travis-ci.org/npm-flickr/flickr-photoset-info.svg?branch=master)](https://travis-ci.org/npm-flickr/flickr-photoset-info)

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