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 example
download image
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")
download video
import pixabay.core
# init pixabay API
px = pixabay.core("YOUR API KEY")
# search for space
space = px.queryVideo("space")
# get len of hits len(space)
print("{} hits".format(len(space)))
# downalod fisrt video
space[0].download("space.mp4", "large")
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
Release files for pixabay 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pixabay-0.0.5.tar.gz | 10.4 kB | Details |
Release files / pixabay-0.0.5.tar.gz
| Download URL | pixabay-0.0.5.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
172054d9eba779c48d2cc262448356b162d1b1896cc00a510ddce84a8827eb27
|
|
BLAKE2b-256 checksum How to use checksums |
e74339a8394a3f40ecc14d0a020bbe0abd6bb67a43788b01b9ac53f52b990e1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|