uf0 / flickr-scripts

some scripts to get stuff from flickr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Installation If you want to run these scripts locally on your machine, be sure you have the following requirements installed.

###Requirements

Clone flickr-scripts from the command line:

$ git clone https://github.com/uf0/flickr-scripts.git

browse to flickr-scripts root folder:

$ cd flickr-scripts

install node dependencies:

$ npm install

edit configuration file

$ cp config.sample.js config.js

open config.js file and add you API and secret key

add data folder

$ mkdir data

####Get number of photos around places

add palces file

$ touch data/places.csv

open places.csv file insert the places to search for (tab delimiter)

id  lat lon
1 45.4465 9.2308
2 52.4576 3.0405
3 60.2039 9.0343

run the script

$ node index.js

About

some scripts to get stuff from flickr

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%