Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 872 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 872 Bytes

FlickrWithNodeJS

This script was build to retrieve images using Flickr Search API's.

Steps to run:
1)Take a clone of the repo.
2)Do NPM install in the directory . You will be installed with request and express npm modules.
3)Run "node hayFlickr.js" and the server starts and listning to the port "7001"
4)Open your browser and you can do below tasks.
a)Ex1: http://localhost:7001/sunset - will search for "sunset" images through Flickr API.
b)Ex2: http://localhost:7001/sunset/5 - will search for "sunset" but retrieves only 5 images from Flickr API.


Reference :
https://www.flickr.com/services/api/misc.urls.html
http://bigspaceship.github.io/blog/2014/05/14/how-to-create-a-rest-api-with-node-dot-js/
http://www.codexpedia.com/node-js/node-js-http-server-displaying-images-from-a-directory/