Unofficial python pixabay API client
Project description
python-pixabay (pixabay) is unofficial API client library for pixabay API (https://pixabay.com/api/docs/)
Install from pip
pip3 install pixabay
Install from source
git clone https://github.com/Lukas0025/python-pixabay.git
cd python-pixabay
make install
Getting started
simple exmaple
import pixabay.core
# init pixabay API
px = pixabay.core("YOUR API KEY")
# search for space
space = px.query("space")
# get len of hits len(space)
print("{} hits".format(len(space)))
# downalod fisrt image
space[0].download("space.jpg", "largeImage")
Getting help
Reporting bugs and contributing
- Want to report a bug or request a feature? Please open an issue.
- Want to help us with build? Contact me
Licensing
python-pixabay is licensed under Apache2
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
pixabay-0.0.1.tar.gz
(4.9 kB
view details)
File details
Details for the file pixabay-0.0.1.tar.gz
.
File metadata
- Download URL: pixabay-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2058669dce63af4d9d0c624105001a4ca0a2fcfb251f654128c8b859f58470a0 |
|
MD5 | 61540c3d1503ca7dd60259400a69f873 |
|
BLAKE2b-256 | 91444206aed7eb1b8b2442cb9c792a3198ed76a1ff54fb105278fedb6f8a730c |