Sphinx flicker API extention
Homepage Repository PyPI Python
pip install sphinxjp-tk0miya==0.0.1
This is a sphinx extension which inserts a flickr photo on your document.
$ pip install sphinxjp.tk0miya
To enable this extension, add sphinxjp.tk0miya
module to extensions
option in conf.py.
# Enabled extensions extensions = ['sphinxjp.tk0miya']
You should get access token from Flickr and set filckr_api_key and flickr_secret in your conf.py
flickr_api_key="<YOUR_API_KEY_PUT_HERE>" flickr_secret="<YOUR_SECRET_PUT_HERE>"
.. flickr-search:: marriage
flickr-search put only a first image. You can set :random: as option to put a randomized image.
.. flickr-search:: marriage :random:
You can set search license by setting license option.
.. flickr-search:: marriage :license: 0,1
possible values are
If you want to search multiple licenses, use comma-separated.
.. flickr-search:: marriage :size: Small
Possible values are
https://bitbucket.org/r_rudi/sphinxjp.tk0miya
The BSD 2-Clause License.
This extention is created for marriage of "World tk0miya ". Congratulations on your wedding!