Inspired by Addy Osmani's x-instagram
To see this demo in action please register for a Flickr API key. Once done, update x-flickr.html
file with the right API key (line 43).
Simply execute bower install
from the project folder
Add the custom <x-flickr>
tag to your HTML page (along with the necessary Polymer libraries). You have access to the following options:
- apikey: your API key can be specified as an attribute as well - e.g.
<x-flickr apikey="yourkey"></x-flickr>
- tag: tag to search for - e.g.
<x-flickr tag="rome"></x-flickr>
- amount: number of photos to be returned - e.g.
<x-flickr amount=15></x-flickr>