A tool to get a number of flickr uploads or single pictures and create markdown strings out of them
Project description
Fetches last Flickr uploads and convert them to markdown syntax for using it in a markdown blogging environment. For example with pelican.:
Usage: flickr2markdown [OPTIONS] Options: --version Show the version and exit. --user TEXT Flickr Username --count INTEGER Number of last pictures to fetch --id TEXT ID of a single image --url TEXT URL of a single image --size [small|medium|large] Image size: small, medium, large --help Show this message and exit.
Installation
pip install flickr2markdown
Config
The config is needed for the flickr API key. It needs to be located in ~/.flickr2markdown. You can obtain a flickr API key here.
Example:
[API] key = abc123 [Defaults] user = marvinxsteadfast size = large
Example
Input:
$ flickr2markdown --user marvinxsteadfast --count 5
Output:
[](https://www.flickr.com/photos/8810721@N07/26272005452/) [](https://www.flickr.com/photos/8810721@N07/25761633043/) [](https://www.flickr.com/photos/8810721@N07/26364375095/) [](https://www.flickr.com/photos/8810721@N07/26091495910/) [](https://www.flickr.com/photos/8810721@N07/25761607033/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flickr2markdown-0.3.tar.gz
(3.4 kB
view details)
File details
Details for the file flickr2markdown-0.3.tar.gz.
File metadata
- Download URL: flickr2markdown-0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10aab5bdd1e694519af6944541d98a85f59655bf5481e9c036a915f1255b80f4
|
|
| MD5 |
c242863efdc324fa3351304840742b2d
|
|
| BLAKE2b-256 |
5ae46bb2185fe11f1d287a985f3a9f20775402eea3136733b4eeacb7b16910ba
|