Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teemow/node-flickr-reflection
A flickr client that uses the reflection api
https://github.com/teemow/node-flickr-reflection
Last synced: about 1 month ago
JSON representation
A flickr client that uses the reflection api
- Host: GitHub
- URL: https://github.com/teemow/node-flickr-reflection
- Owner: teemow
- Created: 2010-08-29T13:42:12.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-08-31T09:20:46.000Z (over 14 years ago)
- Last Synced: 2024-04-23T18:52:16.595Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 218 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flickr api reflected
A flickr client for node.js that uses the reflection api.
## Install
npm install flickr-reflection## Example
var flickr = require('flickr-reflection');
var options = {
key: 'add_your_flickr_key',
secret: 'add_your_flickr_secret',
apis: ['contacts', 'photos'] // add the apis you'd like to use
};
flickr.connect(options, function(err, api) {
if (err) throw err;api.contacts.getList(function(err, data) {
if (err) throw err;sys.puts(sys.inspect(data.contacts.contact));
});api.photos.search({tags: 'beach,iceland'}, function(err, data) {
if (err) throw err;sys.puts(sys.inspect(data.photos.photo));
});
});## Dependencies
If you need to use signed methods you have to install node with openssl.