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 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
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.4.tar.gz
(10.4 kB
view details)
File details
Details for the file pixabay-0.0.4.tar.gz
.
File metadata
- Download URL: pixabay-0.0.4.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a76fec451549c905ffd86a9e47b43b7fdfd063b5888b27a4ccb49c8f9cab9e83 |
|
MD5 | f8a5272f4b6af0b872adf011586467a3 |
|
BLAKE2b-256 | ef9b3f9c0f0317f0848a4c217f6c92d98359ec72c360ae79de32c485121f9c50 |