Search for Unsplash images and upload to Wagtail
Project description
Wagtail Unsplash
Search for Unsplash images and upload to the Wagtail image library.
This package uses the python-unsplash API wrapper:
Setup
Install using pip:
pip install wagtail-unsplash
After installing the package, add wagtail_unsplash
to installed apps in your settings file:
# settings.py
INSTALLED_APPS = [
...
'wagtail_unsplash',
...
]
and add the API credentials:
# settings.py
WAGTAIL_UNSPLASH = {
"CLIENT_ID": "",
"CLIENT_SECRET": "",
"REDIRECT_URI": "",
"CODE": "",
}
You can get the needed information by creating an application a https://unsplash.com/developers
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagtail-unsplash-0.3.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for wagtail_unsplash-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb550babd65630bb1e0361b15c87b19f4cfacb8c4b8ade0995649623d0c5597 |
|
MD5 | 16f3aa69327de58cf60c879de9b6801a |
|
BLAKE2b-256 | 0321fb993620b4eafad7856d1a8511fb4f67b21b24ae6f54e76ec2d4bb9c7e98 |