Node.js: Import geo-based Flickr data into CouchDB


/ Published in: JavaScript
Save to your folder(s)

The Flickr URL creates a JSON feed with geo-based photos. Using Node.js, CouchDB, and cradle (npm install cradle), you can ingest the JSON data into CouchDB and perform complicated spatial indexing queries. The command for the import is bash$ node name_of_this_javascript.js

URL: http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=API_KEY&text=kitty+kat&has_geo=true&extras=geo&per_page=1000&format=json&nojsoncallback=1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.