WallpapersCraftAPI
Unofficial API WallpapersCraft (wallpaperscraft.com)
Install
Install via GitHub:
pip3 install https://github.com/Den4ikSuperOstryyPer4ik/WallpapersCraftAPI/archive/main.zip --upgrade
Stable version from PyPi:
pip3 install wallpaperscraft
For Windows: pip3 > pip
Usage
from wallpaperscraft import WallpapersCraftAPI, TAG, CATALOG
api = WallpapersCraftAPI()
# get 15 pictures from first page with nature by size 1024x768
nature_pics = api.get_by_catalog(CATALOG.NATURE, resolution="1024x768")
# get 15 pictures from 5th(fifth) page with space by size 1920x1080
vectore_pics = api.get_by_catalog(CATALOG.SPACE, page=5, resolution="1920x1080")
# get 15 pictures from second(2) page with sky and different size
sky_pictures = api.get_by_tag(TAG.SKY, page=2)
# search pictures from first page with night city and different size
night_city_pics = api.search("night city")
# get 15 pictures from first page on `https://wallpaperscraft.com/all/` by different size
all_pics = api.all()
Async Usage
from wallpaperscraft import AsyncWallpapersCraftAPI, TAG, CATALOG
import asyncio
async def main():
api = AsyncWallpapersCraftAPI()
# get 15 pictures from first page with nature by size 1024x768
nature_pics = await api.get_by_catalog(CATALOG.NATURE, resolution="1024x768")
# get 15 pictures from 5th(fifth) page with space by size 1920x1080
vectore_pics = await api.get_by_catalog(CATALOG.SPACE, page=5, resolution="1920x1080")
# get 15 pictures from second(2) page with sky and different size
sky_pictures = await api.get_by_tag(TAG.SKY, page=2)
# search pictures from first page with night city and different size
night_city_pics = await api.search("night city")
# get 15 pictures from first page on `https://wallpaperscraft.com/all/` by different size
all_pics = await api.all()
asyncio.run(main())
Metadata
Release files for wallpaperscraft 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wallpaperscraft-1.0.2.tar.gz | 8.7 kB | Without provenance | Details for wallpaperscraft-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wallpaperscraft-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for wallpaperscraft-1.0.2-py3-none-any.whl |
Total release size: 18.7 kB
Release files / wallpaperscraft-1.0.2.tar.gz
| Download URL | wallpaperscraft-1.0.2.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4033da699c10a5d5712a9fbec70ecdd30d3cc01159fa80b40615c254fd860de7
|
|
BLAKE2b-256 checksum How to use checksums |
d5f2b6f364604f0d3554beb07112666729dc1a88f13f8f89936417dd0c06f0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / wallpaperscraft-1.0.2-py3-none-any.whl
| Download URL | wallpaperscraft-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd7c694dda9c683e96cafc77774c986dc9ef2a857b48a9dc060c5b992a3771e9
|
|
BLAKE2b-256 checksum How to use checksums |
46a7e852dfb3ad556f60dc0eec8edde64eacf6b2833e93ecdfebd029bbf8663c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for wallpaperscraft 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.